lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 11 Nov 2021 14:50:26 -0300
From:   Arnaldo Carvalho de Melo <acme@...nel.org>
To:     Like Xu <like.xu.linux@...il.com>
Cc:     Mark Rutland <mark.rutland@....com>, Jiri Olsa <jolsa@...hat.com>,
        Namhyung Kim <namhyung@...nel.org>,
        Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tools/perf/design: Synchronize the definition of enum
 perf_hw_id with code

Em Tue, Nov 09, 2021 at 05:01:47PM +0800, Like Xu escreveu:
> From: Like Xu <likexu@...cent.com>
> 
> We're not surprised that there are tons of Linux users who
> only read the documentation to learn about the kernel.
> 
> Let's update the perf part for common hardware events
> since three new *generic* hardware events were added.

Thanks, applied.

- Arnaldo

 
> Signed-off-by: Like Xu <likexu@...cent.com>
> ---
>  tools/perf/design.txt | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/tools/perf/design.txt b/tools/perf/design.txt
> index a42fab308ff6..aa8cfeabb743 100644
> --- a/tools/perf/design.txt
> +++ b/tools/perf/design.txt
> @@ -106,6 +106,9 @@ enum perf_hw_id {
>  	PERF_COUNT_HW_BRANCH_INSTRUCTIONS	= 4,
>  	PERF_COUNT_HW_BRANCH_MISSES		= 5,
>  	PERF_COUNT_HW_BUS_CYCLES		= 6,
> +	PERF_COUNT_HW_STALLED_CYCLES_FRONTEND	= 7,
> +	PERF_COUNT_HW_STALLED_CYCLES_BACKEND	= 8,
> +	PERF_COUNT_HW_REF_CPU_CYCLES		= 9,
>  };
>  
>  These are standardized types of events that work relatively uniformly
> -- 
> 2.33.0

-- 

- Arnaldo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ