diff mbox

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

Message ID 1503007519-26777-18-git-send-email-ldufour@linux.vnet.ibm.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Laurent Dufour Aug. 17, 2017, 10:05 p.m. UTC
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(+)

Comments

Anshuman Khandual Aug. 21, 2017, 8:55 a.m. UTC | #1
On 08/18/2017 03:35 AM, Laurent Dufour wrote:
> Add a new software event to count succeeded speculative page faults.
> 
> Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>

Should be merged with the next patch.
Michael Ellerman Aug. 22, 2017, 1:46 a.m. UTC | #2
Anshuman Khandual <khandual@linux.vnet.ibm.com> writes:

> On 08/18/2017 03:35 AM, Laurent Dufour wrote:
>> Add a new software event to count succeeded speculative page faults.
>> 
>> Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
>
> Should be merged with the next patch.

No it shouldn't.

cheers
diff mbox

Patch

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 */
 };