Re: [PATCH v6 06/10] perf metricgroup: Fix metrics using aliases covering multiple PMUs

From: John Garry
Date: Mon Dec 07 2020 - 13:03:28 EST


On 07/12/2020 17:19, Arnaldo Carvalho de Melo wrote:
Next time please try to provides a Fixes: tag to help with
backporting/stable@xxxxxxxxxx work.


Hi Arnaldo,

I know you asked me this before Re. fixes tags ... but I don't know any cases of "metrics using aliases covering multiple PMUs" in mainline today (which this patch addresses). If there are some, then I guess that they are broken and we should seek them out.

Note that this topic was discussed here initially:
https://lore.kernel.org/linux-perf-users/CAP-5=fUy6FOszNRwJF6ZNpqQSSyrnLPV6GbkEcZMqAhUp3X0ZA@xxxxxxxxxxxxxx/

There has been much churn on the metric code recently, so prob not a straight stable backport; as such, I would prefer to know some metric was broken and verify we fix it.

If you have any better ideas to handle this, then please let me know.

Cheers,
John