diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-27 05:55:39 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-02-06 08:00:38 -0500 |
commit | 7b644f9ad18f74aeac42360bee9c4c1cf874f4c0 (patch) | |
tree | 70b183c8c15a087a94e39e56193fda27d5af9c15 /tools/perf/ui/stdio/hist.c | |
parent | 4fed072609b8aae27eac7169033f762867a5ab4c (diff) |
perf callchain: Uninline callchain_cursor_reset() to remove map.h dependency
That was the only thing that made including map.h in callchain.h a
requiriment, so uninline it and just add a 'struct map' forward
declaration.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-7fjz4hvv1bpzqaeriku44fn4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/stdio/hist.c')
-rw-r--r-- | tools/perf/ui/stdio/hist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/ui/stdio/hist.c b/tools/perf/ui/stdio/hist.c index 2a9fa4dcbc2a..814abf5e9a5c 100644 --- a/tools/perf/ui/stdio/hist.c +++ b/tools/perf/ui/stdio/hist.c | |||
@@ -4,6 +4,7 @@ | |||
4 | 4 | ||
5 | #include "../../util/util.h" | 5 | #include "../../util/util.h" |
6 | #include "../../util/hist.h" | 6 | #include "../../util/hist.h" |
7 | #include "../../util/map.h" | ||
7 | #include "../../util/sort.h" | 8 | #include "../../util/sort.h" |
8 | #include "../../util/evsel.h" | 9 | #include "../../util/evsel.h" |
9 | #include "../../util/srcline.h" | 10 | #include "../../util/srcline.h" |