]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf maps: Add missing map__set_kmap_maps() when replacing a kernel map
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 28 Feb 2025 21:17:33 +0000 (18:17 -0300)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 6 Mar 2025 07:03:43 +0000 (23:03 -0800)
commite0e4e0b8b7fabd8c214b838b8cb9a14ac618f16f
treeb07639c3dd4bd85ebdf09c8fd8e2461681220300
parent0d11fab32714a2da9038554d25a7b138802333a1
perf maps: Add missing map__set_kmap_maps() when replacing a kernel map

Since in this case __maps__insert_sorted() is not called and thus
doesn't have the opportunity to do the needed map__set_kmap_maps() calls on
the new map.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/lkml/Z7-May5w9VQd5QD0@x1
Link: https://lore.kernel.org/r/20250228211734.33781-6-acme@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/maps.c