Skip to contentSkip to conversation

tools headers: Synchronize perf_event.h header

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Nov 29, 2017

lore
Share & tools
lore
#0 lore raw
Commit-ID:  0f1aabeb4932e48ce067cb8c88322277dd7af371
Gitweb:     https://git.kernel.org/tip/0f1aabeb4932e48ce067cb8c88322277dd7af371
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Mon, 27 Nov 2017 11:35:52 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 28 Nov 2017 14:29:49 -0300

tools headers: Synchronize perf_event.h header

To get the changes in the 085b30625e39 ("perf/core: Add PERF_AUX_FLAG_COLLISION to report colliding samples") commit, that will be eventually used by perf to handle the ARM SPE architecture.

---
 tools/include/uapi/linux/perf_event.h | 1 +
 1 file changed, 1 insertion(+)
tools/include/uapi/linux/perf_event.h +1 -0
index 362493a..b9a4953 100644
@@ -942,6 +942,7 @@ enum perf_callchain_context {
 #define PERF_AUX_FLAG_TRUNCATED		0x01	/* record was truncated to fit */
 #define PERF_AUX_FLAG_OVERWRITE		0x02	/* snapshot from overwrite mode */
 #define PERF_AUX_FLAG_PARTIAL		0x04	/* record contains gaps */
+#define PERF_AUX_FLAG_COLLISION		0x08	/* sample collided with another */
 
 #define PERF_FLAG_FD_NO_GROUP		(1UL << 0)
 #define PERF_FLAG_FD_OUTPUT		(1UL << 1)