Re: [PATCH v2 1/3] perf list: Print matching PMU events for --unit

From: Namhyung Kim

Date: Fri Nov 21 2025 - 15:02:59 EST


On Wed, 19 Nov 2025 16:47:24 -0800, Namhyung Kim wrote:
> When --unit option is used, pmu_glob is set to the argument. It should
> match with event PMU and display the matching ones only. But it also
> shows raw events and metrics after that.
>
> $ perf list --unit tool
> List of pre-defined events (to be used in -e or -M):
>
> [...]
Applied to perf-tools-next, thanks!

Best regards,
Namhyung