Skip to contentSkip to conversation

perf counts: Add missing headers needed for types used

tip: perf/core tip-bot2 for Arnaldo Carvalho de Melo 1 participant 1 message Aug 23, 2019 1 message not in the archive perf events

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

tip-bot2 for Arnaldo Carvalho de Melo

author merge bot Applied
#1 lore raw

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.

---
 tools/perf/util/counts.h | 4 ++++
 1 file changed, 4 insertions(+)
tools/perf/util/counts.h +4 -0
index 13430f3..92196df 100644
@@ -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;