summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2025-03-01 00:17:30 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-03-06 10:03:11 +0300
commit25d9c0301d36f4d80eb8bc8211e46900f177daf2 (patch)
tree1d900cecf6e90ac40e0ad614ff21c87ee646211c /tools/perf/scripts/python/task-analyzer.py
parent99deaf5578cd768fa76363a598f6865fa6ecc891 (diff)
downloadlinux-25d9c0301d36f4d80eb8bc8211e46900f177daf2.tar.xz
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions