diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-08-05 06:25:21 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-05 07:16:04 -0400 |
commit | 114cfab222233f50f46d7162cf7d99fdc6c271e5 (patch) | |
tree | 028fb8f5753634d4ff4d7ca35156948f81a0e93e /tools/perf/builtin-report.c | |
parent | 90bc1a658a53f8832ee799685703977a450e5af9 (diff) |
perf report: Make --sort comm,dso,symbol the default
If you're doing performance testing, you're interested in the
symbols anyway so lets make "--sort comm,dso,symbol" the
default sort option.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: acme@redhat.com
LKML-Reference: <1249467921-10450-1-git-send-email-penberg@cs.helsinki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r-- | tools/perf/builtin-report.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index ce4f28645e64..8cb58d68a006 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -31,7 +31,7 @@ | |||
31 | static char const *input_name = "perf.data"; | 31 | static char const *input_name = "perf.data"; |
32 | static char *vmlinux = NULL; | 32 | static char *vmlinux = NULL; |
33 | 33 | ||
34 | static char default_sort_order[] = "comm,dso"; | 34 | static char default_sort_order[] = "comm,dso,symbol"; |
35 | static char *sort_order = default_sort_order; | 35 | static char *sort_order = default_sort_order; |
36 | static char *dso_list_str, *comm_list_str, *sym_list_str, | 36 | static char *dso_list_str, *comm_list_str, *sym_list_str, |
37 | *col_width_list_str; | 37 | *col_width_list_str; |
@@ -1424,7 +1424,7 @@ print_entries: | |||
1424 | if (sort_order == default_sort_order && | 1424 | if (sort_order == default_sort_order && |
1425 | parent_pattern == default_parent_pattern) { | 1425 | parent_pattern == default_parent_pattern) { |
1426 | fprintf(fp, "#\n"); | 1426 | fprintf(fp, "#\n"); |
1427 | fprintf(fp, "# (For more details, try: perf report --sort comm,dso,symbol)\n"); | 1427 | fprintf(fp, "# (For a higher level overview, try: perf report --sort comm,dso)\n"); |
1428 | fprintf(fp, "#\n"); | 1428 | fprintf(fp, "#\n"); |
1429 | } | 1429 | } |
1430 | fprintf(fp, "\n"); | 1430 | fprintf(fp, "\n"); |