perf symbols: Stop using vmlinux files with no symbols
authorFranck Bui-Huu <fbuihuu@gmail.com>
Fri, 10 Dec 2010 13:07:14 +0000 (14:07 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Dec 2010 11:41:45 +0000 (09:41 -0200)
commitc3a34e06db25a8c74e196517732d65cdb56028ec
tree8b81edffc143923a2866c9c6dc96f392723e0841
parentfd930ff91e7fda18f7790984a98489a85edb7c71
perf symbols: Stop using vmlinux files with no symbols

Fail if the kernel image contains no symbol, allowing using other images
in the vmlinux search path that may have a usable symtab.

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: <m3d3p9ydx9.fsf_-_@gmail.com>
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-event.c