aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2013-09-14 10:32:59 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-10-09 11:42:20 -0300
commitfc2be6968e99b5314f20e938a547d44dcb1c40eb (patch)
tree5ffc3b6398ec53978814935700210be0821207b3 /tools/perf/util/symbol.h
parentperf tools: Adding throttle event data struct support (diff)
downloadlinux-dev-fc2be6968e99b5314f20e938a547d44dcb1c40eb.tar.xz
linux-dev-fc2be6968e99b5314f20e938a547d44dcb1c40eb.zip
perf symbols: Add new option --ignore-vmlinux for perf top
Running "perf top" on a machine with possibly invalid or non-matching vmlinux at the various places results in no symbol resolving despite /proc/kallsyms being present and valid. Add a new option --ignore-vmlinux to explicitly indicate that we do not want to use these kernels and just use what we have (kallsyms). Signed-off-by: Willy Tarreau <w@1wt.eu> Cc: Ingo Molnar <mingo@redhat.com> Link: http://lkml.kernel.org/r/20130914083259.GA3418@1wt.eu Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rw-r--r--tools/perf/util/symbol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index 2a97bb1a8097..9b8b213a62c1 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -85,6 +85,7 @@ struct symbol_conf {
unsigned short priv_size;
unsigned short nr_events;
bool try_vmlinux_path,
+ ignore_vmlinux,
show_kernel_path,
use_modules,
sort_by_name,