aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/builtin-report.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index 63febd24e912..0f0cf2472d9d 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -312,8 +312,6 @@ static int process_sample_event(struct perf_tool *tool,
312 if (rep->cpu_list && !test_bit(sample->cpu, rep->cpu_bitmap)) 312 if (rep->cpu_list && !test_bit(sample->cpu, rep->cpu_bitmap))
313 return 0; 313 return 0;
314 314
315 pthread_mutex_lock(&evsel->hists.lock);
316
317 if (sort__mode == SORT_MODE__BRANCH) { 315 if (sort__mode == SORT_MODE__BRANCH) {
318 ret = perf_report__add_branch_hist_entry(tool, &al, sample, 316 ret = perf_report__add_branch_hist_entry(tool, &al, sample,
319 evsel, machine); 317 evsel, machine);
@@ -332,8 +330,6 @@ static int process_sample_event(struct perf_tool *tool,
332 if (ret < 0) 330 if (ret < 0)
333 pr_debug("problem incrementing symbol period, skipping event\n"); 331 pr_debug("problem incrementing symbol period, skipping event\n");
334 } 332 }
335 pthread_mutex_unlock(&evsel->hists.lock);
336
337 return ret; 333 return ret;
338} 334}
339 335