malloc, VFS read/write, and block I/O flame graphs
Brendan Gregg
G'Day,
For reference, I created a few bcc/BPF tools that generate data for these flame graphs. The tools are based on the offcputime code, and are: https://github.com/brendangregg/BPF-tools/blob/master/old/2017-12-23/biostacks.py https://github.com/brendangregg/BPF-tools/blob/master/old/2017-12-23/fileiostacks.py https://github.com/brendangregg/BPF-tools/blob/master/old/2017-12-23/mallocstacks.py Examples of using them can be found on: http://www.brendangregg.com/FlameGraphs/offcpuflamegraphs.html http://www.brendangregg.com/FlameGraphs/memoryflamegraphs.html I'm not going to submit them to bcc, since I think they are too special-case and would subtract value from bcc (due to clutter) rather than add to it. Plus there's a lot of duplicated code. So I'll leave them in my BPF-tools repo. Brendan
|
|