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


Groups > linux.kernel > #1716205

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

From Anshuman Khandual <khandual@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 18/20] perf tools: Add support for the SPF perf event
Date 2017-08-21 11:00 +0200
Message-ID <ugQIV-25q-1@gated-at.bofh.it> (permalink)
References <ufB9f-2BN-5@gated-at.bofh.it> <ufB9h-2BN-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08/18/2017 03:35 AM, Laurent Dufour wrote:
> Add support for the new speculative faults event.
> 
> Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
> ---
>  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.

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


Thread

[PATCH v2 18/20] perf tools: Add support for the SPF perf event Laurent Dufour <ldufour@linux.vnet.ibm.com> - 2017-08-18 00:10 +0200
  Re: [PATCH v2 18/20] perf tools: Add support for the SPF perf event Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-08-21 11:00 +0200
    Re: [PATCH v2 18/20] perf tools: Add support for the SPF perf event Laurent Dufour <ldufour@linux.vnet.ibm.com> - 2017-08-25 11:00 +0200

csiph-web