• Arnaldo Carvalho de Melo's avatar
    perf report: Fix kernel symbol resolution · 59d81029
    Arnaldo Carvalho de Melo authored
    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: default avatarArnaldo 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: default avatarIngo Molnar <mingo@elte.hu>
    59d81029
builtin-report.c 15.9 KB