[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <170848061716.1313505.4005156314579304167.b4-ty@kernel.org>
Date: Tue, 20 Feb 2024 17:57:37 -0800
From: Namhyung Kim <namhyung@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>,
Adrian Hunter <adrian.hunter@...el.com>
Cc: linux-kernel@...r.kernel.org,
linux-perf-users@...r.kernel.org,
Jiri Olsa <jolsa@...nel.org>,
Ian Rogers <irogers@...gle.com>
Subject: Re: [PATCH] perf test: Enable Symbols test to work with a current module dso
On Wed, 31 Jan 2024 21:24:16 +0200, Adrian Hunter wrote:
> The test needs a struct machine and creates one for the current host,
> but a side-effect is that struct machine has set up kernel maps
> including module maps.
>
> If the 'Symbols' test --dso option specifies a current kernel module,
> it will already be present as a kernel dso, and a map with kmaps needs
> to be used otherwise there will be a segfault - see below.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
--
Namhyung Kim <namhyung@...nel.org>
Powered by blists - more mailing lists