Re: [PATCH v4 02/53] perf record: Lazy load kernel symbols

From: Arnaldo Carvalho de Melo
Date: Wed Nov 08 2023 - 11:02:05 EST


Em Mon, Nov 06, 2023 at 01:00:14PM +0200, Adrian Hunter escreveu:
> On 2/11/23 19:56, Ian Rogers wrote:
> > Commit 5b7ba82a7591 ("perf symbols: Load kernel maps before using")
> > changed it so that loading a kernel dso would cause the symbols for
> > the dso to be eagerly loaded. For perf record this is overhead as the
> > symbols won't be used. Add a symbol_conf to control the behavior and
> > disable it for perf record and perf inject.

> > Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>

> Reviewed-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>

Thanks, applied to perf-tools-next.

- Arnaldo