Re: [PATCH] perf pmu: Fix alias matching

From: John Garry
Date: Tue Jul 27 2021 - 06:33:26 EST


On 21/07/2021 04:07, Jin, Yao wrote:


Hi Arnaldo,

Can you kindly consider picking up this patch?

Thanks

Fixes: c47a5599eda3 ("perf tools: Fix pattern matching for same substring in different PMU type")
Signed-off-by: John Garry <john.garry@xxxxxxxxxx>
---
@Jin Yao, please test for your scenarios


For x86, the form uncore_pmu_{digits} or the uncore_pmu itself are supported. We don't have more complex case such as the name in the form aaa_bbbX_cccY. So my test didn't cover that complex form.

For my test, your patch works, thanks! :)

Can we take this as a tested-by?