[PATCH v9 20/24] perf: Add a speculative page fault sw event
Laurent Dufour
ldufour at linux.vnet.ibm.com
Wed Mar 14 04:59:50 AEDT 2018
Add a new software event to count succeeded speculative page faults.
Signed-off-by: Laurent Dufour <ldufour at linux.vnet.ibm.com>
---
include/uapi/linux/perf_event.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h
index 6f873503552d..a6ddab9edeec 100644
--- a/include/uapi/linux/perf_event.h
+++ b/include/uapi/linux/perf_event.h
@@ -112,6 +112,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 = 11,
PERF_COUNT_SW_MAX, /* non-ABI */
};
--
2.7.4
More information about the Linuxppc-dev
mailing list