tmp_suning_uos_patched/tools/perf/arch
Namhyung Kim ff6f7778a6 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>
2012-11-08 17:26:52 -03:00
..
arm ARM: fix perf build with uclibc toolchains 2011-08-12 15:40:20 +01:00
powerpc perf tools: Use scnprintf where applicable 2012-03-14 12:36:19 -03:00
s390 [S390] perf: add DWARF register lookup for s390 2011-01-05 12:47:31 +01:00
sh
sparc perf: Add DWARF register lookup for sparc 2010-07-14 22:59:00 -07:00
x86 perf tools: Support for DWARF CFI unwinding on post processing 2012-08-11 15:06:56 -03:00
common.c perf tools: Don't try to lookup objdump for live mode 2012-11-08 17:26:52 -03:00
common.h perf tools: Try to find cross-built objdump path 2012-10-24 14:20:11 -02:00