diff options
| author | Feng Tang <[email protected]> | 2012-09-07 08:42:23 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-09-17 16:10:57 +0000 |
| commit | 1500b93b61fc70a1176871b64f1c8ae3bd4da9dd (patch) | |
| tree | 9ba9dab784a220d565922bd8ac153014ecbadc10 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf archive: Make 'f' the last parameter for tar (diff) | |
| download | kernel-1500b93b61fc70a1176871b64f1c8ae3bd4da9dd.tar.gz kernel-1500b93b61fc70a1176871b64f1c8ae3bd4da9dd.zip | |
perf symbols: Filter samples with unresolved symbol when "--symbols" option is used
Report/top commands support to only handle specific symbols with
"--symbols" option, but current code will keep those samples whose
symbol can't be resolved, which should actually be filtered.
If we run following commands:
$perf record -a tree
$perf report --symbols intel_idle -n
the output will be:
Without the patch:
==================
46.27% 156 sshd [unknown]
26.05% 48 swapper [kernel.kallsyms]
17.26% 38 tree libc-2.12.1.so
7.69% 17 tree tree
2.73% 6 tree ld-2.12.1.so
With the patch:
===============
100.00% 48 swapper [kernel.kallsyms]
Signed-off-by: Feng Tang <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
