diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-30 16:11:01 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-09-01 03:24:10 +0200 |
commit | 4a3cec84949d14dc3ef7fb8a51b8949af93cac13 (patch) | |
tree | 5aecc0517d9cc59d74b49d3095aaa654cc172004 /tools/perf/util/machine.h | |
parent | perf symbols: Move symsrc prototypes to a separate header (diff) | |
download | linux-4a3cec84949d14dc3ef7fb8a51b8949af93cac13.tar.xz 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/machine.h')
-rw-r--r-- | tools/perf/util/machine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/machine.h b/tools/perf/util/machine.h index 7d69119d0b5d..ffd391a925a6 100644 --- a/tools/perf/util/machine.h +++ b/tools/perf/util/machine.h @@ -5,12 +5,13 @@ #include <sys/types.h> #include <linux/rbtree.h> #include "map_groups.h" -#include "dso.h" +#include "dsos.h" #include "event.h" #include "rwsem.h" struct addr_location; struct branch_stack; +struct dso; struct evsel; struct perf_sample; struct symbol; |