Re: [PATCH v3 1/4] perf pmu: Support more complex PMU event aliasing
From: John Garry
Date: Fri Jun 28 2019 - 13:06:12 EST
On 28/06/2019 16:33, Andi Kleen wrote:
+ /*
+ * Match more complex aliases where the alias name is a comma-delimited
+ * list of tokens, orderly contained in the matching PMU name.
+ *
+ * Example: For alias "socket,pmuname" and PMU "socketX_pmunameY", we
+ * match "socket" in "socketX_pmunameY" and then "pmuname" in
+ * "pmunameY".
This needs to be documented in some manpage.
Hi Andi,
As I see, today the man page does not mention the matching from the
alias events declared in the jsons.
The perf list command shows these aliases, so I am not sure how useful
that info is adding to the man page.
What the man page does mention is the glob matching on the PMU device
name - like how "imc" can match PMU device "uncore_imc_0", but I'm not
changing around this.
Thanks,
John
-Andi
.