lkml.org 
[lkml]   [2009]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/3] perf_event: fix getting symbol error if kernel is relocatable
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(-)


\
 
 \ /
  Last update: 2009-12-30 04:19    [from the cache]
©2003-2011 Jasper Spaans