diff options
author | Namhyung Kim | 2012-11-07 10:30:15 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2012-11-08 17:26:52 -0300 |
commit | ff6f7778a66edc033044a6baa2459ce79519e571 (patch) | |
tree | f79f9776ffff5d8b67cc6cfa7b0511fd0c48eac8 /lib/uuid.c | |
parent | eef9ba98b9ee96f52e544b09f581c397d8cc8265 (diff) |
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 <acme@ghostprotocols.net>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: 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/1352251815-12615-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/uuid.c')
0 files changed, 0 insertions, 0 deletions