Skip to contentSkip to conversation

tools headers uapi: Update tools's copy of linux/perf_event.h

tip:perf/urgent tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Jul 31, 2018

lore
Share & tools
lore
#0 lore raw
Commit-ID:  2c3ee0e1779d2e08bc08734bc8475daaf94d0ba4
Gitweb:     https://git.kernel.org/tip/2c3ee0e1779d2e08bc08734bc8475daaf94d0ba4
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Mon, 30 Jul 2018 11:41:56 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Mon, 30 Jul 2018 11:41:56 -0300

tools headers uapi: Update tools's copy of linux/perf_event.h

To get the changes in:

6cbc304f2f36 ("perf/x86/intel: Fix unwind errors from PEBS entries (mk-II)")

That do not imply any changes in the tooling side, the (ab)use of sample_type is entirely done in kernel space, nothing for userspace to witness here.

This cures the following warning during perf's build:

Warning: Kernel ABI header at 'tools/include/uapi/linux/perf_event.h' differs from latest version at 'include/uapi/linux/perf_event.h'

Cc Adrian Hunter <[email protected]>
Cc Alexander Shishkin <[email protected]>
Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Prashant Bhole <[email protected]>
Cc Stephane Eranian <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Vince Weaver <[email protected]>
Cc Wang Nan <[email protected]>
---
 tools/include/uapi/linux/perf_event.h | 2 ++
 1 file changed, 2 insertions(+)
tools/include/uapi/linux/perf_event.h +2 -0
index b8e288a1f740..eeb787b1c53c 100644
@@ -143,6 +143,8 @@ enum perf_event_sample_format {
 	PERF_SAMPLE_PHYS_ADDR			= 1U << 19,
 
 	PERF_SAMPLE_MAX = 1U << 20,		/* non-ABI */
+
+	__PERF_SAMPLE_CALLCHAIN_EARLY		= 1ULL << 63,
 };
 
 /*