Skip to content

Fixups for kernel maps insertion

Arnaldo Carvalho de Melo linux-perf-users lkml 2 versions – Applied

Status from this message: Applied to perf-tools-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 4 repliesApplied
  2. v16 patches 2 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6perf maps: Introduce map__set_kmap_maps() for kernel mapstools/perf/util/maps.c+21 -80 replies
2/6perf maps: Set the kmaps for newly created/added kernel mapstools/perf/util/maps.c+3 -00 replies
3/6perf machine: Fixup kernel maps ends after adding extra mapstools/perf/util/machine.c+2 -20 replies
4/6perf maps: Fixup maps_by_name when modifying maps_by_addresstools/perf/util/maps.c+23 -10 replies
5/6perf maps: Add missing map__set_kmap_maps() when replacing a kernel maptools/perf/util/maps.c+2 -00 replies
6/6perf machine: Fix insertion of PERF_RECORD_KSYMBOL related kernel mapstools/perf/util/machine.c+1 -10 replies

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNamhyung KimArnaldo Carvalho de MeloIan Rogers
SeriesR-b
1/6A-b
2/6A-b
3/6T-b
4/6T-b
5/6A-b
6/6T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH 0/6 v2] Fixups for kernel maps insertion

From: Arnaldo Carvalho de Melo <[email protected]>

Hi Namhyung,

Here are the patches from the recent session on fixing the build
when DEBUG=1 is used, please take a look.

I think that since there are no reported problems and ended up
being a sizeable series, we better apply it to perf-tools-next,

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(-)
Signature · 1 line
2.48.1