perf tools: Do not try to call addr2line on non-binary files
authorNamhyung Kim <namhyung.kim@lge.com>
Wed, 11 Sep 2013 05:09:29 +0000 (14:09 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Oct 2013 19:01:05 +0000 (16:01 -0300)
commit58d91a0068694a5ba3efc99e88ce6b4b0dd0d085
treef01869d62d514ae12225c114d30add9e517660f3
parentf048d548f803b57ee1dbf66702f398ba69657450
perf tools: Do not try to call addr2line on non-binary files

No need to call addr2line since they don't have such information.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1378876173-13363-6-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c
tools/perf/util/srcline.c