diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-22 14:03:49 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-25 15:12:09 +0100 |
commit | e7a795d3ba62897d326f1732d01325594a6ef64f (patch) | |
tree | 737c2d1caa650891d87cce4fac29c8b62347daf4 /tools/perf/util/block-range.h | |
parent | perf tools: Move branch structs to branch.h (diff) | |
download | linux-e7a795d3ba62897d326f1732d01325594a6ef64f.tar.xz linux-e7a795d3ba62897d326f1732d01325594a6ef64f.zip |
perf block-range: Add missing headers
Some are being obtained indirectly and as we prune unnecessary includes,
this stops working, fix it by adding the headers for things used in
these file.
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-1p65lyeebc2ose0lbozvemda@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/block-range.h')
-rw-r--r-- | tools/perf/util/block-range.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/util/block-range.h b/tools/perf/util/block-range.h index a5ba719d69fb..ec0fb534bf56 100644 --- a/tools/perf/util/block-range.h +++ b/tools/perf/util/block-range.h @@ -2,7 +2,11 @@ #ifndef __PERF_BLOCK_RANGE_H #define __PERF_BLOCK_RANGE_H -#include "symbol.h" +#include <stdbool.h> +#include <linux/rbtree.h> +#include <linux/types.h> + +struct symbol; /* * struct block_range - non-overlapping parts of basic blocks |