Skip to contentSkip to conversation

tools headers: Add missing perf_event.h include

tip: perf/core tip-bot2 for Jiri Olsa 1 participant 1 message Aug 23, 2019 1 message not in the archive

lore
Share & tools
lore

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

tip-bot2 for Jiri Olsa

author merge bot Applied
#1 lore raw

The following commit has been merged into the perf/core branch of tip:

Commit-ID:     db9a5fd02a06113848fd3eabe302f56059d27366
Gitweb:        https://git.kernel.org/tip/db9a5fd02a06113848fd3eabe302f56059d27366
Author:        Jiri Olsa <[email protected]>
AuthorDate:    Thu, 22 Aug 2019 13:11:37 +02:00
Committer:     Arnaldo Carvalho de Melo <[email protected]>
CommitterDate: Thu, 22 Aug 2019 11:12:36 -03:00

tools headers: Add missing perf_event.h include

We need perf_event.h include for 'struct perf_event_mmap_page'.

---
 tools/include/linux/ring_buffer.h | 1 +
 1 file changed, 1 insertion(+)
tools/include/linux/ring_buffer.h +1 -0
index 9a083ae..6c02617 100644
@@ -2,6 +2,7 @@
 #define _TOOLS_LINUX_RING_BUFFER_H_
 
 #include <asm/barrier.h>
+#include <linux/perf_event.h>
 
 /*
  * Contract with kernel for walking the perf ring buffer from