Re: [PATCH v3 1/4] perf pmu: Support more complex PMU event aliasing

From: Andi Kleen
Date: Fri Jun 28 2019 - 11:33:46 EST


> + /*
> + * 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.

-Andi