perf jitdump: Directly mark the jitdump DSO
authorIan Rogers <irogers@google.com>
Thu, 24 Jul 2025 16:32:47 +0000 (09:32 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 25 Jul 2025 17:37:56 +0000 (10:37 -0700)
commit5b11409b924631745eef60a65218ffa496acafd6
tree251d82366201bd65a0c9fc2ee973dbfaf8764aff
parentd9f2ecbc5e47fca7bda7c13cff3b3534b1467b32
perf jitdump: Directly mark the jitdump DSO

The DSO being generated was being accessed through a thread's maps,
this is unnecessary as the dso can just be directly found. This avoids
problems with passing a NULL evsel which may be inspected to determine
properties of a callchain when using the buildid DSO marking code.

Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250724163302.596743-8-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/jitdump.c