I'm using Perf to perform some profiling experiments.
However, I would like to know results for a specific code region and for this case seeing the results (percentages) for each line of source code (C/C++ in this case) would ease the task.
perf annotate
has a view where it displays ASM+Source Code and also has the option to turn off showing source code. I would like to know how to accomplish the other end of this option, that is, showing only Source Code + its percentages of events per line and hide ASM output. Is this possible with perf
?
Suggestion of other tool to do that? I'm also using Vtune however the analysis I want to do not is working. Valgrind is out of question, too slow.
I'm on an x64 running Ubuntu 13.04.