perf report: Postpone objdump check until annotation requested
authorNamhyung Kim <namhyung.kim@lge.com>
Fri, 2 Nov 2012 05:50:06 +0000 (14:50 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Nov 2012 17:03:58 +0000 (14:03 -0300)
commit68d807586ba83d9cb77f12c8fb7c97ea438d34ad
tree15794b3d68f8770312c4e089ff50ece2b78318bc
parent9783adf777a445a1e9d0db4857a3a896a9f42d4a
perf report: Postpone objdump check until annotation requested

David reported that current perf report refused to run on a data file
captured from a different machine because of objdump.

Since the objdump tools won't be used unless annotation was requested,
checking its presence at init time doesn't make sense.

Reported-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: David Ahern <dsahern@gmail.com>
Tested-by: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Irina Tirdea <irina.tirdea@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1351835406-15208-3-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c
tools/perf/builtin-top.c
tools/perf/ui/browsers/hists.c
tools/perf/util/hist.h