Skip to content

Commit 2ca5ec1

Browse files
acmelgregkh
authored andcommitted
Revert "perf map: Fix dso->nsinfo refcounting"
commit 9bac1bd upstream. 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]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c14cee5 commit 2ca5ec1

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
dso__put(dso);
199197
}

0 commit comments

Comments
 (0)