Skip to content

Commit 9bac1bd

Browse files
committed
Revert "perf map: Fix dso->nsinfo refcounting"
This makes 'perf top' abort in some cases, and the right fix will involve surgery that is too much to do at this stage, so revert for now and fix it in the next merge window. This reverts commit 2d6b74b. Cc: Riccardo Mancini <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Krister Johansen <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent c07d5c9 commit 9bac1bd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/perf/util/map.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,6 @@ struct map *map__new(struct machine *machine, u64 start, u64 len,
192192
if (!(prot & PROT_EXEC))
193193
dso__set_loaded(dso);
194194
}
195-
196-
nsinfo__put(dso->nsinfo);
197195
dso->nsinfo = nsi;
198196

199197
if (build_id__is_defined(bid))

0 commit comments

Comments
 (0)