mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
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>
This commit is contained in:
parent
69d247295a
commit
1da7c10b2e
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user