Re: [PATCH] perf test: Speed up some tests using perf list

From: Namhyung Kim
Date: Thu Oct 17 2024 - 12:39:55 EST


On Tue, 15 Oct 2024 23:56:54 -0700, Namhyung Kim wrote:

> On my system, perf list is very slow to print the whole events. I think
> there's a performance issue in SDT and uprobes event listing. I noticed
> this issue while running perf test on x86 but it takes long to check
> some CoreSight event which should be skipped quickly.
>
> Anyway, some test uses perf list to check whether the required event is
> available before running the test. The perf list command can take an
> argument to specify event class or (glob) pattern. But glob pattern is
> only to suppress output for unmatched ones after checking all events.
>
> [...]

Applied to perf-tools-next, thanks!

Best regards,
Namhyung