From: Like Xu Date: Tue, 9 Nov 2021 09:01:47 +0000 (+0800) Subject: perf design.txt: Synchronize the definition of enum perf_hw_id with code X-Git-Tag: v6.6.17~8807^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=438f1a9f54a99368957c150496b582a02cc6c305;p=platform%2Fkernel%2Flinux-rpi.git perf design.txt: Synchronize the definition of enum perf_hw_id with code 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 Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lore.kernel.org/lkml/20211109090147.56978-1-likexu@tencent.com Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/design.txt b/tools/perf/design.txt index a42fab3..aa8cfea 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