Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
40

Interactive Flamegraphs

from Quentin Santos [alt+shift+b] in programming

In my latest article, I made heavy use of flamegraphs. To makes things clearer, flamegraphs are visualizations of how much time is spent in each function in a program: ./write –write_with_vmsplice –huge_page –busy_loop | ./read –read_with_splice –busy_loop Profiling of ./write Reset Zoom Search ic __iov_iter_get_pages_alloc (3,949,231,497 samples, 14.88%) __iov_iter_get_pages_a.. __fget_light (62,561,929 samples, 0.24%) internal_get_user_pages_fast (3,133,200,714 … Continue reading Interactive Flamegraphs → The post Interactive Flamegraphs appeared first on Quentin Santos.
8th Sep 2024

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from Quentin Santos

My first PCB: AIC3204 eval board

I had some fun with the Adafruit TLV320DAC3100. This is a small board built around the (TLV320)DAC3100 audio chip. “DAC” stands for “Digital-to-Analog Conversion”; that is, it takes some audio signal (here, I²S) and converts it to the analog equivalent (differential for speakers, single-ended for headphones). Microcontrollers typically don’t have analog output, and getting analog […] The post My first PCB: AIC3204 eval board appeared first on Quentin Santos.

6th Sep 2026 • 1 votes
A few spikes in Pico cos()

A picture is worth a thousand LLM prompts: Horizontal value is the input value x for cosf(x), ranging from 0 to 2π. The orange line shows the result of evaluating cosf(x), which looks exactly as expected. The blue line shows the time it took to evaluate cosf(x) for each x, in nanoseconds. I discovered this […] The post A few spikes in Pico cos() appeared first on Quentin Santos.

15th Aug 2026 • 1 votes
The RP2350 is too fast

I had a few hours of “fun” figuring out why my RP2350 could use my ILI9341 display, but not the ST7796 one. To be more specific, displaying stuff with the first display worked flawlessly, while the ST7796 would display a single frame correctly, and then glitch. Depending on the exact code running, the glitches would […] The post The RP2350 is too fast appeared first on Quentin Santos.

15th May 2026 • 1 votes
The RP2350-USB-A cannot see devices disconnect

What’s better for New Year’s Eve than debugging some USB hardware issues? In my previous article, I explained how the design of Waveshare’s RP2350-USB-A can make the USB-A host connector incapable of detecting certain USB devices, and of any hot-plugging. The solution was to desolder R13, a pull-up resistor on D+: With this fix, my […] The post The RP2350-USB-A cannot see devices disconnect appeared first on Quentin Santos.

1st Jan 2026 • 1 votes
Fixing the RP2350-USB-A not working as USB host

tl;dr: you need to desolder R13, the resistor closest the pin 6 of the board, as indicated by the red arrow in the cover picture of this article Context I am currently toying around with emulating a USB device. However, I also wanted to be able to plug a keyboard in, so I needed a … Continue reading Fixing the RP2350-USB-A not working as USB host → The post Fixing the RP2350-USB-A not working as USB host appeared first on Quentin Santos.

20th Nov 2025 • 3 votes

More in programming

Notes from CoRL 2026

(Tuesday)

13 hours ago • 1 votes
The Codebase Rewrite is Back

The economics of software engineering have fundamentally changed.

16 hours ago • 1 votes
How OCaml effects simplified my JSON interpreter

How effect handlers removed control-flow plumbing from query-json

yesterday • 1 votes
Unattended reboots with encrypted disks

An introduction to ZKeys: a new service that stores encryption keys off-site and automatically locks access to them if the client machines go offline for a long period of time.

4 days ago • 1 votes
Education Shouldn't Be Held for Ransom

Google told K-12 schools they could turn off AI, but only if they gave up search too. That isn’t integration. It’s holding education for ransom.

a week ago • 1 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in