Aggregating function calls from WPR / xperf profiling data, for example. KCacheGrind?
Is it possible to load WPR / xperf to profile data in KCacheGrind ? Or is there a way to aggregate function calls in WPA directly? Or some other tool? Would the gprof2dot / graphviz route be better ?
I find WPA useful, but the stacking grouping in the CPU Usage (Sampled) table doesn't seem to be able to sort by aggregated number of function calls. For example, if a function foo
is named the same from 10 different places, it would be difficult to identify foo
as a potential bottleneck, since each of the 10 code paths to foo
will show up as 10% or less of weight, KCacheGrind solves this problem by allowing you to sort by cumulative time for each function ...
How can I sort the cumulative time taken by each function with profiling on Windows eg. identify low level common functions like malloc as bottleneck?
source to share
No one has answered this question yet
See similar questions:
or similar: