aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r--tools/perf/builtin-annotate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c
index 467a23b14e2f..a32a64ef08e2 100644
--- a/tools/perf/builtin-annotate.c
+++ b/tools/perf/builtin-annotate.c
@@ -239,6 +239,8 @@ static int __cmd_annotate(struct perf_annotate *ann)
239 if (nr_samples > 0) { 239 if (nr_samples > 0) {
240 total_nr_samples += nr_samples; 240 total_nr_samples += nr_samples;
241 hists__collapse_resort(hists, NULL); 241 hists__collapse_resort(hists, NULL);
242 /* Don't sort callchain */
243 perf_evsel__reset_sample_bit(pos, CALLCHAIN);
242 hists__output_resort(hists, NULL); 244 hists__output_resort(hists, NULL);
243 245
244 if (symbol_conf.event_group && 246 if (symbol_conf.event_group &&