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
@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
@axboe I'll try that out and see what I get.
=> More informations about this toot | More toots from brauner@mastodon.social
@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 This content has been proxied by September (ba2dc).Proxy Information
text/gemini