OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e92b18
)
tools headers: Add missing perf_event.h include
author
Jiri Olsa
<jolsa@kernel.org>
Thu, 22 Aug 2019 11:11:37 +0000
(13:11 +0200)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Thu, 22 Aug 2019 14:12:36 +0000
(11:12 -0300)
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>
tools/include/linux/ring_buffer.h
patch
|
blob
|
history
diff --git
a/tools/include/linux/ring_buffer.h
b/tools/include/linux/ring_buffer.h
index
9a083ae
..
6c02617
100644
(file)
--- a/
tools/include/linux/ring_buffer.h
+++ b/
tools/include/linux/ring_buffer.h
@@
-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