diff options
Diffstat (limited to 'tools/perf')
| -rw-r--r-- | tools/perf/builtin-top.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index b2838de13de0..aa0c73e57924 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
| @@ -1429,6 +1429,9 @@ int cmd_top(int argc, const char **argv) | |||
| 1429 | } | 1429 | } |
| 1430 | } | 1430 | } |
| 1431 | 1431 | ||
| 1432 | if (opts->branch_stack && callchain_param.enabled) | ||
| 1433 | symbol_conf.show_branchflag_count = true; | ||
| 1434 | |||
| 1432 | sort__mode = SORT_MODE__TOP; | 1435 | sort__mode = SORT_MODE__TOP; |
| 1433 | /* display thread wants entries to be collapsed in a different tree */ | 1436 | /* display thread wants entries to be collapsed in a different tree */ |
| 1434 | perf_hpp_list.need_collapse = 1; | 1437 | perf_hpp_list.need_collapse = 1; |
