perf probe: Fix use of kernel image path given by 'k' option
authorFranck Bui-Huu <fbuihuu@gmail.com>
Fri, 10 Dec 2010 13:06:03 +0000 (14:06 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Dec 2010 11:41:45 +0000 (09:41 -0200)
commitfd930ff91e7fda18f7790984a98489a85edb7c71
tree5210fee0494c7be8233c0e0d5479a0cc5773bc02
parentd949750fed168b6553ca11ed19e4affd19d7a4d7
perf probe: Fix use of kernel image path given by 'k' option

Users were not being able to have the explicitely specified vmlinux
pathname used, instead a search on the vmlinux path was always being
made.

Reported-by: Francis Moreau <francis.moro@gmail.com>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: 2nddept-manager@sdl.hitachi.co.jp
Cc: Francis Moreau <francis.moro@gmail.com>
Cc: Franck Bui-Huu <vagabon.xyz@gmail.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
LPU-Reference: <m3hbelydz8.fsf_-_@gmail.com>
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-probe.c
tools/perf/util/probe-event.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h