Re: [PATCH 0/6 v2] Fixups for kernel maps insertion
From: Namhyung Kim
Date: Fri Feb 28 2025 - 19:03:59 EST
On Fri, Feb 28, 2025 at 06:17:28PM -0300, Arnaldo Carvalho de Melo wrote:
> From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> Hi Namhyung,
>
> Here are the patches from the recent session on fixing the build
> when DEBUG=1 is used, please take a look.
Looks good. It's more fine-grained than I expected. :)
>
> I think that since there are no reported problems and ended up
> being a sizeable series, we better apply it to perf-tools-next,
Sure, will add there.
Thanks,
Namhyung
>
> Best Regards,
>
> - Arnaldo
>
> v2: Use map__set_kmap_maps() as suggested by Ian.
>
> Arnaldo Carvalho de Melo (3):
> perf maps: Introduce map__set_kmap_maps() for kernel maps
> perf maps: Set the kmaps for newly created/added kernel maps
> perf maps: Add missing map__set_kmap_maps() when replacing a kernel map
>
> Namhyung Kim (3):
> perf machine: Fixup kernel maps ends after adding extra maps
> perf maps: Fixup maps_by_name when modifying maps_by_address
> perf machine: Fix insertion of PERF_RECORD_KSYMBOL related kernel maps
>
> tools/perf/util/machine.c | 6 ++--
> tools/perf/util/maps.c | 58 +++++++++++++++++++++++++++++++++------
> 2 files changed, 52 insertions(+), 12 deletions(-)
>
> --
> 2.48.1
>