Ancestors

Toot

Written by Christian Brauner 🦊🐺 on 2024-10-03 at 20:38

After searching for quite a while and no clear answer here's a question for the perf bubble. I have a multi-threaded test program and I want a kernel callgraph that shows me the overhead or percentage of each function in the callgraph (aggregated over all threads, I guess). The goal is to identify changes caused by various patches.

=> More informations about this toot | More toots from brauner@mastodon.social

Descendants

Written by Jens Axboe on 2024-10-03 at 20:43

@brauner Just use perf record -g -p and the recording will have all threads. perf report -g --no-children for displaying the profile with callgraph info.

Hmm?

=> More informations about this toot | More toots from axboe@fosstodon.org

Written by Christian Brauner 🦊🐺 on 2024-10-03 at 20:47

@axboe I'll try that out and see what I get.

=> More informations about this toot | More toots from brauner@mastodon.social

Written by Stephen Brennan on 2024-10-03 at 20:54

@brauner

@axboe and to add onto that I'd recommend using the flame graph scripts, specifically difffolded.pl to compare two profiles and show increases/decreases in the call graph times.

https://www.brendangregg.com/blog/2014-11-09/differential-flame-graphs.html

https://github.com/brendangregg/FlameGraph

=> More informations about this toot | More toots from brenns10@snake.club

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113245416298900159
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
280.609213 milliseconds
Gemini-to-HTML Time
0.559578 milliseconds

This content has been proxied by September (ba2dc).