Thread (61 messages) read the whole thread 61 messages, 10 authors, 2017-09-11

Re: [PATCH v2 18/20] perf tools: Add support for the SPF perf event

From: Anshuman Khandual <hidden>
Date: 2017-08-21 08:50:26
Also in: linux-mm, lkml

On 08/18/2017 03:35 AM, Laurent Dufour wrote:
quoted hunk ↗ jump to hunk
Add support for the new speculative faults event.

Signed-off-by: Laurent Dufour <redacted>
---
 tools/include/uapi/linux/perf_event.h | 1 +
 tools/perf/util/evsel.c               | 1 +
 tools/perf/util/parse-events.c        | 4 ++++
 tools/perf/util/parse-events.l        | 1 +
 tools/perf/util/python.c              | 1 +
 5 files changed, 8 insertions(+)
diff --git a/tools/include/uapi/linux/perf_event.h b/tools/include/uapi/linux/perf_event.h
index b1c0b187acfe..3043ec0988e9 100644
--- a/tools/include/uapi/linux/perf_event.h
+++ b/tools/include/uapi/linux/perf_event.h
@@ -111,6 +111,7 @@ enum perf_sw_ids {
 	PERF_COUNT_SW_EMULATION_FAULTS		= 8,
 	PERF_COUNT_SW_DUMMY			= 9,
 	PERF_COUNT_SW_BPF_OUTPUT		= 10,
+	PERF_COUNT_SW_SPF_DONE			= 11,
Right, just one event for the success case. 'DONE' is redundant, only
'SPF' should be fine IMHO.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help