path: root/tools/perf/scripts/perl/
diff options
authorArnaldo Carvalho de Melo <>2010-12-21 23:38:37 -0200
committerArnaldo Carvalho de Melo <>2010-12-22 20:31:59 -0200
commitd3678758048308049cdad31ec3eae063be17c0db (patch)
tree717d3995a21b4b60bf949b087eabb12a7a75a51c /tools/perf/scripts/perl/
parent3b01a413c196c91040d41c86e5b56f76bb369f74 (diff)
perf test: Look forward for symbol aliases
Not just before, fixing these false positives: [acme@mica linux]$ perf test -v 1 1: vmlinux symtab matches kallsyms: --- start --- Looking at the vmlinux_path (6 entries long) Using //lib/modules/2.6.37-rc5-00180-ge06b6bf/build/vmlinux for symbols 0xffffffff81058dc0: diff name v: sys_vm86old k: sys_ni_syscall 0xffffffff81058dc0: diff name v: sys_vm86 k: sys_ni_syscall 0xffffffff81058dc0: diff name v: sys_subpage_prot k: sys_ni_syscall 0xffffffff810b5f7c: diff name v: probe_kernel_write k: __probe_kernel_write 0xffffffff810b5fe5: diff name v: probe_kernel_read k: __probe_kernel_read 0xffffffff811bc380: diff name v: __memset k: memset 0xffffffff81384a98: diff name v: __sched_text_start k: sleep_on_common 0xffffffff81386750: diff name v: __sched_text_end k: _raw_spin_trylock 0xffffffff8138cee8: diff name v: __irqentry_text_start k: do_IRQ 0xffffffff8138f079: diff name v: __start_notes k: _etext 0xffffffff8138f079: diff name v: __stop_notes k: _etext ---- end ---- vmlinux symtab matches kallsyms: FAILED! [acme@mica linux]$ Some are weak functions, others are just markers, etc. They get in the rb tree with the same addr, so we need to look around to find the symbol with the same name. We were looking just at the previous entries with the same addr, look forward too. Cc: Frederic Weisbecker <> Cc: Han Pingtian <> Cc: Mike Galbraith <> Cc: Peter Zijlstra <> Cc: Paul Mackerras <> Cc: Stephane Eranian <> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/scripts/perl/')
0 files changed, 0 insertions, 0 deletions