perf symbols: Add new option --ignore-vmlinux for perf top
authorWilly Tarreau <w@1wt.eu>
Sat, 14 Sep 2013 08:32:59 +0000 (10:32 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Oct 2013 14:42:20 +0000 (11:42 -0300)
commitfc2be6968e99b5314f20e938a547d44dcb1c40eb
tree5ffc3b6398ec53978814935700210be0821207b3
parentdd96c46b5c765a779d8c35cc7d1df7515b4c7baf
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>
tools/perf/builtin-top.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h