diff options
-rw-r--r-- | tools/perf/builtin-report.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index b9e0fcac4d71..3da59a87ec7c 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -730,7 +730,7 @@ repeat: | |||
730 | has_br_stack = perf_header__has_feat(&session->header, | 730 | has_br_stack = perf_header__has_feat(&session->header, |
731 | HEADER_BRANCH_STACK); | 731 | HEADER_BRANCH_STACK); |
732 | 732 | ||
733 | if (branch_mode == -1 && has_br_stack) { | 733 | if ((branch_mode == -1 && has_br_stack) || branch_mode == 1) { |
734 | sort__mode = SORT_MODE__BRANCH; | 734 | sort__mode = SORT_MODE__BRANCH; |
735 | symbol_conf.cumulate_callchain = false; | 735 | symbol_conf.cumulate_callchain = false; |
736 | } | 736 | } |