* [PATCH] tools/perf/design: Synchronize the definition of enum perf_hw_id with code
@ 2021-11-09 9:01 Like Xu
2021-11-11 17:50 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 2+ messages in thread
From: Like Xu @ 2021-11-09 9:01 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo
Cc: Mark Rutland, Jiri Olsa, Namhyung Kim, Peter Zijlstra,
Ingo Molnar, Alexander Shishkin, linux-perf-users, linux-kernel
From: Like Xu <likexu@tencent.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.
Signed-off-by: Like Xu <likexu@tencent.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tools/perf/design: Synchronize the definition of enum perf_hw_id with code
2021-11-09 9:01 [PATCH] tools/perf/design: Synchronize the definition of enum perf_hw_id with code Like Xu
@ 2021-11-11 17:50 ` Arnaldo Carvalho de Melo
0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2021-11-11 17:50 UTC (permalink / raw)
To: Like Xu
Cc: Mark Rutland, Jiri Olsa, Namhyung Kim, Peter Zijlstra,
Ingo Molnar, Alexander Shishkin, linux-perf-users, linux-kernel
Em Tue, Nov 09, 2021 at 05:01:47PM +0800, Like Xu escreveu:
> From: Like Xu <likexu@tencent.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@tencent.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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-11 17:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09 9:01 [PATCH] tools/perf/design: Synchronize the definition of enum perf_hw_id with code Like Xu
2021-11-11 17:50 ` Arnaldo Carvalho de Melo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.