[tip:,perf/core] perf counts: Add missing headers needed for types used
diff mbox series

Message ID 156656290294.31563.390589934415946033.tip-bot2@tip-bot2
State Accepted
Commit 2d64ae9b85614dc0fcca68aad5da305dec44a9b1
Headers show
Series
  • [tip:,perf/core] perf counts: Add missing headers needed for types used
Related show

Commit Message

irqchip-bot for Zhen Lei Aug. 23, 2019, 12:21 p.m. UTC
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 <acme@redhat.com>
AuthorDate:    Wed, 21 Aug 2019 11:56:13 -03:00
Committer:     Arnaldo Carvalho de Melo <acme@redhat.com>
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 <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>
---
 tools/perf/util/counts.h | 4 ++++
 1 file changed, 4 insertions(+)

Patch
diff mbox series

diff --git a/tools/perf/util/counts.h b/tools/perf/util/counts.h
index 13430f3..92196df 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;