[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c28ce930-9a70-4f23-9f6b-541c16c212e3@linaro.org>
Date: Wed, 16 Oct 2024 09:25:41 +0100
From: James Clark <james.clark@...aro.org>
To: Namhyung Kim <namhyung@...nel.org>,
Arnaldo Carvalho de Melo <acme@...nel.org>, Ian Rogers <irogers@...gle.com>,
Kan Liang <kan.liang@...ux.intel.com>
Cc: Jiri Olsa <jolsa@...nel.org>, Adrian Hunter <adrian.hunter@...el.com>,
Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...nel.org>,
LKML <linux-kernel@...r.kernel.org>, linux-perf-users@...r.kernel.org,
Leo Yan <leo.yan@....com>, German Gomez <german.gomez@....com>,
Carsten Haitzler <carsten.haitzler@....com>
Subject: Re: [PATCH] perf test: Speed up some tests using perf list
On 16/10/2024 7:56 am, 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.
>
> In this case, specifying event class is better to reduce the number of
> events it checks and to avoid buggy subsystems entirely.
>
> No functional changes intended.
>
> Cc: German Gomez <german.gomez@....com>
> Cc: Carsten Haitzler <carsten.haitzler@....com>
> Signed-off-by: Namhyung Kim <namhyung@...nel.org>
> ---
Reviewed-by: James Clark <james.clark@...aro.org>
Powered by blists - more mailing lists