An unofficial, read-only Hacker News reader. Join the beta →

Worshipping at the altar of Brendan Gregg (opens external site)

241 points by kqr 4 days ago | fzakaria.com | 47 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. > Flamegraphs sort the samples by location, rather than ordered by time.

    I'm not sure if I understand. Do you mean ordered by amount of time spent, or by event time in the executable? (Most profilers do the former, and flame graphs are implicitly a variant of that by scaling the blocks visually by execution time.)

    > They also show hierarchy, rather than just leafs.

    Like any profiler in graph mode? Every profiler I've used over the last 20 years (even gprof!) can show function hierarchy, both top-down and bottom-up.

    Replies (1)
    1. Event time. It's a common mode for profilers that are looking at latency. And yes, any profiler in call stack mode is the same data, just without the colorful visuals, as he talked about in the intro paragraph: https://www.brendangregg.com/flamegraphs.html