[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211201010217.886919-11-eranian@google.com>
Date: Tue, 30 Nov 2021 17:02:14 -0800
From: Stephane Eranian <eranian@...gle.com>
To: linux-kernel@...r.kernel.org
Cc: peterz@...radead.org, kim.phillips@....com, acme@...hat.com,
jolsa@...hat.com, songliubraving@...com, mpe@...erman.id.au,
maddy@...ux.ibm.com
Subject: [PATCH v3 10/13] perf tools: add branch-brs as a new event
Although branch-brs is specific to AMD Zen3, we provide it in the list of
events recognized by perf as a convenience. It allows: $ perf stat -e
branch-brs $ perf list
and enable some test suite to pass.
Signed-off-by: Stephane Eranian <eranian@...gle.com>
---
tools/perf/util/parse-events.l | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/util/parse-events.l b/tools/perf/util/parse-events.l
index 4efe9872c667..97e70368e7c7 100644
--- a/tools/perf/util/parse-events.l
+++ b/tools/perf/util/parse-events.l
@@ -366,6 +366,7 @@ mem-loads-aux |
mem-stores |
topdown-[a-z-]+ |
tx-capacity-[a-z-]+ |
+branch-brs |
el-capacity-[a-z-]+ { return str(yyscanner, PE_KERNEL_PMU_EVENT); }
L1-dcache|l1-d|l1d|L1-data |
--
2.34.0.rc2.393.gf8c9666880-goog
Powered by blists - more mailing lists