Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1714428

[PATCH v2 17/20] perf: Add a speculative page fault sw event

From Laurent Dufour <ldufour@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject [PATCH v2 17/20] perf: Add a speculative page fault sw event
Date 2017-08-18 00:10 +0200
Message-ID <ufB9h-2BN-33@gated-at.bofh.it> (permalink)
References <ufB9f-2BN-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add a new software event to count succeeded speculative page faults.

Signed-off-by: Laurent Dufour <ldufour@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 b1c0b187acfe..3043ec0988e9 100644
--- a/include/uapi/linux/perf_event.h
+++ b/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,
 
 	PERF_COUNT_SW_MAX,			/* non-ABI */
 };
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 17/20] perf: Add a speculative page fault sw event Laurent Dufour <ldufour@linux.vnet.ibm.com> - 2017-08-18 00:10 +0200
  Re: [PATCH v2 17/20] perf: Add a speculative page fault sw event Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-08-21 11:00 +0200
    Re: [PATCH v2 17/20] perf: Add a speculative page fault sw event Michael Ellerman <mpe@ellerman.id.au> - 2017-08-22 03:50 +0200

csiph-web