summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/dso.h
diff options
context:
space:
mode:
authorNamhyung Kim2013-09-11 07:09:30 +0200
committerArnaldo Carvalho de Melo2013-10-09 21:01:44 +0200
commit86c98cab5a3137376ea7df5ffa5bd52e545fee95 (patch)
tree35e8a5fe7d0e1df6f1b00d4d9b5eaf63dc38299f /tools/perf/util/dso.h
parentperf tools: Do not try to call addr2line on non-binary files (diff)
downloadkernel-qcow2-linux-86c98cab5a3137376ea7df5ffa5bd52e545fee95.tar.gz
kernel-qcow2-linux-86c98cab5a3137376ea7df5ffa5bd52e545fee95.tar.xz
kernel-qcow2-linux-86c98cab5a3137376ea7df5ffa5bd52e545fee95.zip
perf annotate: Pass dso instead of dso_name to get_srcline()
This is a preparation of next change. No functional changes are intended. 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-7-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/dso.h')
-rw-r--r--tools/perf/util/dso.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/dso.h b/tools/perf/util/dso.h
index dbd9241ea290..72eedd65fc2d 100644
--- a/tools/perf/util/dso.h
+++ b/tools/perf/util/dso.h
@@ -6,6 +6,7 @@
#include <stdbool.h>
#include "types.h"
#include "map.h"
+#include "build-id.h"
enum dso_binary_type {
DSO_BINARY_TYPE__KALLSYMS = 0,