diff options
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 4fef1e415129..34764b6eabf9 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -1137,8 +1137,7 @@ int cmd_top(int argc, const char **argv, const char *prefix __maybe_unused) | |||
1137 | if (argc) | 1137 | if (argc) |
1138 | usage_with_options(top_usage, options); | 1138 | usage_with_options(top_usage, options); |
1139 | 1139 | ||
1140 | if (sort_order == default_sort_order) | 1140 | sort__mode = SORT_MODE__TOP; |
1141 | sort_order = "dso,symbol"; | ||
1142 | 1141 | ||
1143 | if (setup_sorting() < 0) { | 1142 | if (setup_sorting() < 0) { |
1144 | parse_options_usage(top_usage, options, "s", 1); | 1143 | parse_options_usage(top_usage, options, "s", 1); |