Skip to content

Commit db9a5fd

Browse files
olsajiriacmel
authored andcommitted
tools headers: Add missing perf_event.h include
We need perf_event.h include for 'struct perf_event_mmap_page'. Link: http://lkml.kernel.org/n/tip-bolqkmqajexhccjb0ib0an8w@git.kernel.org Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20190822111141.25823-2-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 4e92b18 commit db9a5fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tools/include/linux/ring_buffer.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#define _TOOLS_LINUX_RING_BUFFER_H_
33

44
#include <asm/barrier.h>
5+
#include <linux/perf_event.h>
56

67
/*
78
* Contract with kernel for walking the perf ring buffer from

0 commit comments

Comments
 (0)