diff options
| author | Namhyung Kim <[email protected]> | 2012-11-07 01:30:15 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-11-08 20:26:52 +0000 |
| commit | ff6f7778a66edc033044a6baa2459ce79519e571 (patch) | |
| tree | f79f9776ffff5d8b67cc6cfa7b0511fd0c48eac8 /tools/perf/ui/browsers/annotate.c | |
| parent | perf tools: Add arbitary aliases and support names with - (diff) | |
| download | kernel-ff6f7778a66edc033044a6baa2459ce79519e571.tar.gz kernel-ff6f7778a66edc033044a6baa2459ce79519e571.zip | |
perf tools: Don't try to lookup objdump for live mode
Arnaldo reported that annotation during perf top resulted in a segfault.
It was because the env->arch was NULL and we don't set it for a live
session. In fact, no need to look up objdump in this case since we can
use system's default (native) objdump.
Reported-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Irina Tirdea <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/ui/browsers/annotate.c')
0 files changed, 0 insertions, 0 deletions
