Skip to content

Commit ee6d50c

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 <rickyman7@gmail.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Krister Johansen <kjlx@templeofstupid.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 9755a44 commit ee6d50c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎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)