[PATCH 0/3] perf_event: fix getting symbol error if kernel is relocatable
From: Xiao Guangrong
Date: Tue Dec 29 2009 - 22:17:26 EST
Hi,
If the kernel is relocatable, perf tools can't get symbol
name correctly, See: http://lkml.org/lkml/2009/12/20/218
The purpose of this patchset is to fix this bug, and it base
on my previously patchset: http://lkml.org/lkml/2009/12/29/4
since it used 'inject' event
arch/x86/boot/compressed/head_32.S | 2 ++
arch/x86/boot/compressed/head_64.S | 3 +++
arch/x86/include/asm/bootparam.h | 3 ++-
arch/x86/kernel/asm-offsets_32.c | 1 +
arch/x86/kernel/asm-offsets_64.c | 1 +
arch/x86/kernel/cpu/perf_event.c | 10 ++++++++++
include/linux/perf_event.h | 1 +
kernel/perf_event.c | 23 +++++++++++++++++++++--
tools/perf/builtin-record.c | 3 +++
tools/perf/util/session.c | 6 ++++++
tools/perf/util/symbol.c | 13 +++++++++++++
tools/perf/util/symbol.h | 3 ++-
12 files changed, 65 insertions(+), 4 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/