perf tools: Save failed result of get_srcline()
authorNamhyung Kim <namhyung.kim@lge.com>
Wed, 11 Sep 2013 05:09:31 +0000 (14:09 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Oct 2013 19:02:02 +0000 (16:02 -0300)
commit2cc9d0ef577975abb3ebce7d5978559ec1c73633
treebddeda74b58bf0e9f45f2a14b8846983c8d2c6f3
parent86c98cab5a3137376ea7df5ffa5bd52e545fee95
perf tools: Save failed result of get_srcline()

Some dso's lack srcline info, so there's no point to keep trying on
them.  Just save failture status and skip them.

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-8-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/dso.c
tools/perf/util/dso.h
tools/perf/util/srcline.c