aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2025-02-28 18:17:30 -0300
committerNamhyung Kim <namhyung@kernel.org>2025-03-05 23:03:11 -0800
commit25d9c0301d36f4d80eb8bc8211e46900f177daf2 (patch)
tree1d900cecf6e90ac40e0ad614ff21c87ee646211c /tools/perf/scripts/python
parentperf maps: Introduce map__set_kmap_maps() for kernel maps (diff)
downloadlinux-25d9c0301d36f4d80eb8bc8211e46900f177daf2.tar.gz
linux-25d9c0301d36f4d80eb8bc8211e46900f177daf2.zip
perf maps: Set the kmaps for newly created/added kernel maps
When using __maps__insert_sorted() the map kmaps field needs to be initialized, as we need kernel maps to work with map__kmap(). Fix it by using the newly introduced map__set_kmap() method. 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/Z74V0hZXrTLM6VIJ@x1 Link: https://lore.kernel.org/r/20250228211734.33781-3-acme@kernel.org Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions