aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/evlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
index 961560b2046b..79056c6ae507 100644
--- a/tools/perf/util/evlist.c
+++ b/tools/perf/util/evlist.c
@@ -1116,6 +1116,7 @@ static void perf_evlist__propagate_maps(struct perf_evlist *evlist)
1116 evsel->cpus = cpu_map__get(evlist->cpus); 1116 evsel->cpus = cpu_map__get(evlist->cpus);
1117 } 1117 }
1118 1118
1119 thread_map__put(evsel->threads);
1119 evsel->threads = thread_map__get(evlist->threads); 1120 evsel->threads = thread_map__get(evlist->threads);
1120 } 1121 }
1121} 1122}