perf report: Handle vDSO symbols properly
authorIngo Molnar <mingo@elte.hu>
Wed, 3 Jun 2009 08:39:26 +0000 (10:39 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 3 Jun 2009 08:39:26 +0000 (10:39 +0200)
commited966aac335a63083d3125198479447248637d9e
tree7de805123f69cd4f97bc3e91c93fca9db610eab8
parent5352f35d6ae7b8b981d77137fb268bc54d10624f
perf report: Handle vDSO symbols properly

We were not looking up vDSO symbols properly, because they
are in the kallsyms but are user-mode entries.

Pass negative addresses to the kernel dso object, this
way we resolve them properly:

     0.05%  [kernel]: vread_tsc

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/builtin-report.c