diff options
| author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2025-03-01 00:17:30 +0300 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-03-06 10:03:11 +0300 |
| commit | 25d9c0301d36f4d80eb8bc8211e46900f177daf2 (patch) | |
| tree | 1d900cecf6e90ac40e0ad614ff21c87ee646211c /tools/perf/scripts/python/stackcollapse.py | |
| parent | 99deaf5578cd768fa76363a598f6865fa6ecc891 (diff) | |
| download | linux-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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
