perf report: Fix kernel symbol resolution
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 26 May 2009 14:14:27 +0000 (11:14 -0300)
committerIngo Molnar <mingo@elte.hu>
Tue, 26 May 2009 14:19:05 +0000 (16:19 +0200)
commit59d81029b6804c3d5895d07cad77d7dfddc6b5b2
tree8b2e9ba0bcd05d160b10249d96059a6b6f1578b0
parentf17e04afaff84b5cfd317da29ac4d764908ff833
perf report: Fix kernel symbol resolution

kallsyms have just the symbol start, so we need to read two lines
to get the len.

[ Impact: fix incorrect kernel symbol display in perf report ]

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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