Thread (61 messages) flat view 61 messages, 10 authors, 2017-09-11

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

From: Laurent Dufour <hidden>
Date: 2017-08-25 08:54:00
Also in: linux-mm, lkml

On 21/08/2017 10:48, Anshuman Khandual wrote:
On 08/18/2017 03:35 AM, Laurent Dufour wrote:
quoted
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.
Fair enough, I'll rename it PERF_COUNT_SW_SPF.

Thanks,
Laurent.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help