perf counts: Add missing headers needed for types used
A message that is not in the archive (sent off-list or not yet received): [email protected]
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 2d64ae9b85614dc0fcca68aad5da305dec44a9b1 Gitweb: https://git.kernel.org/tip/2d64ae9b85614dc0fcca68aad5da305dec44a9b1 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Wed, 21 Aug 2019 11:56:13 -03:00 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitterDate: Thu, 22 Aug 2019 17:16:56 -03:00
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 <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/counts.h | 4 ++++ 1 file changed, 4 insertions(+)
tools/perf/util/counts.h +4 -0
@@ -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;