diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-30 11:11:01 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-31 22:24:10 -0300 |
commit | 4a3cec84949d14dc3ef7fb8a51b8949af93cac13 (patch) | |
tree | 5aecc0517d9cc59d74b49d3095aaa654cc172004 /tools/perf/util/event.c | |
parent | b1d1b094f7570a13dd7c9b995209baacc8aa6273 (diff) | |
download | linux-4a3cec84949d14dc3ef7fb8a51b8949af93cac13.tar.gz linux-4a3cec84949d14dc3ef7fb8a51b8949af93cac13.tar.bz2 linux-4a3cec84949d14dc3ef7fb8a51b8949af93cac13.zip |
perf dsos: Move the dsos struct and its methods to separate source files
So that we can reduce the header dependency tree further, in the process
noticed that lots of places were getting even things like build-id
routines and 'struct perf_tool' definition indirectly, so fix all those
too.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-ti0btma9ow5ndrytyoqdk62j@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/event.c')
-rw-r--r-- | tools/perf/util/event.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c index 54169ad335c7..f4afbb858ebb 100644 --- a/tools/perf/util/event.c +++ b/tools/perf/util/event.c @@ -11,6 +11,7 @@ #include <api/fs/fs.h> #include <linux/perf_event.h> #include <linux/zalloc.h> +#include "dso.h" #include "event.h" #include "debug.h" #include "hist.h" @@ -29,6 +30,7 @@ #include "stat.h" #include "session.h" #include "bpf-event.h" +#include "tool.h" #include "../perf.h" #define DEFAULT_PROC_MAP_PARSE_TIMEOUT 500 |