]> git.baikalelectronics.ru Git - kernel.git/commit
perf annotate: Fix up usage of the build id cache
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 23 May 2010 22:12:25 +0000 (19:12 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 24 May 2010 01:35:07 +0000 (22:35 -0300)
commit014ca5641a19167d7dc15c1a4c6fa7f18d68ab30
tree9ae7d7df29e058fc43e9ca8cee25ff9fc19a0973
parent08ffe316012a8efbe0202c344706cc59dde5b62f
perf annotate: Fix up usage of the build id cache

It was assuming that the cache was always available and also wasn't
checking if the file found in the build id cache was just a kallsyms
file, that is not supported by objdump for disassembly.

Reported-by: Ingo Molnar <mingo@elte.hu>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c