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>
Showing
- tools/perf/builtin-report.c 2 additions, 7 deletionstools/perf/builtin-report.c
- tools/perf/builtin-top.c 2 additions, 1 deletiontools/perf/builtin-top.c
- tools/perf/ui/browsers/hists.c 16 additions, 6 deletionstools/perf/ui/browsers/hists.c
- tools/perf/util/hist.h 5 additions, 2 deletionstools/perf/util/hist.h
Loading
Please register or sign in to comment