diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-21 11:56:13 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-22 17:16:56 -0300 |
commit | 2d64ae9b85614dc0fcca68aad5da305dec44a9b1 (patch) | |
tree | 9cce0cf93e28a84b818c8ae47d8891c4bbbe1db8 /tools/perf/util/counts.h | |
parent | 7646602401e6f45e4013ddb7c41f6bc211032d02 (diff) |
perf counts: Add missing headers needed for types used
We get these by sheer luck, since we're cleaning unneeded headers use,
this needs to be done first to avoid breakage down the line.
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-p7bncbi53t4p2kobkbmu86a4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/counts.h')
-rw-r--r-- | tools/perf/util/counts.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/counts.h b/tools/perf/util/counts.h index 13430f353c19..92196df4945f 100644 --- a/tools/perf/util/counts.h +++ b/tools/perf/util/counts.h @@ -2,8 +2,12 @@ #ifndef __PERF_COUNTS_H #define __PERF_COUNTS_H +#include <linux/types.h> #include <internal/xyarray.h> #include <perf/evsel.h> +#include <stdbool.h> + +struct evsel; struct perf_counts { s8 scaled; |