summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/evsel.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2012-02-05 18:11:05 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-02-06 18:57:39 -0200
commitbf32c9ebc9890764c7a9984e3a0c8a57a059753d (patch)
treebdaa97b163af50cd43adca1f0c4a9ca316d4b436 /tools/perf/util/evsel.c
parent7a0153ee15575a4d07b5da8c96b79e0b0fd41a12 (diff)
downloadlinux-bf32c9ebc9890764c7a9984e3a0c8a57a059753d.tar.gz
linux-bf32c9ebc9890764c7a9984e3a0c8a57a059753d.tar.bz2
linux-bf32c9ebc9890764c7a9984e3a0c8a57a059753d.zip
perf tools: Fix prefix matching for kernel maps
In some perf ancient versions we used '[kernel.kallsyms._text]' as the name for the kernel map. This got changed with commit: perf: 'perf kvm' tool for monitoring guest performance from host commit a1645ce12adb6c9cc9e19d7695466204e3f017fe Author: Zhang, Yanmin <yanmin_zhang@linux.intel.com> and we started to use following name '[kernel.kallsyms]_text'. This name change is important for the report code dealing with ancient perf data. When processing the kernel map event, we need to recognize the old naming (dont match the last ']') and initialize the kernel map correctly. The subsequent call to maps__set_kallsyms_ref_reloc_sym deals with the superfluous ']' to get correct symbol name. Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1328461865-6127-1-git-send-email-jolsa@redhat.com Signed-off-by: Jiri Olsa <jolsa@redhat.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/evsel.c')
0 files changed, 0 insertions, 0 deletions