diff options
| author | Ian Rogers <irogers@google.com> | 2025-11-22 00:19:20 -0800 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-12-03 11:07:46 -0800 |
| commit | 1da7c10b2e36541a9c74bc6cf04992f089fa7e00 (patch) | |
| tree | 6a3644396241fdab098243fbce035edb2e31d32f | |
| parent | 69d247295a51db53294efc14dc7e73b3c57df0f8 (diff) | |
perf jitdump: Fix missed dso__put
Reference count checking caught a missing dso__put following a
machine__findnew_dso_id.
Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
| -rw-r--r-- | tools/perf/util/jitdump.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/jitdump.c b/tools/perf/util/jitdump.c index 496ca2d2bfdb..f00814e37de9 100644 --- a/tools/perf/util/jitdump.c +++ b/tools/perf/util/jitdump.c @@ -547,6 +547,8 @@ static int jit_repipe_code_load(struct jit_buf_desc *jd, union jr_entry *jr) if (dso) dso__set_hit(dso); + + dso__put(dso); } out: perf_sample__exit(&sample); |
