[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-114cfab222233f50f46d7162cf7d99fdc6c271e5@git.kernel.org>
Date: Wed, 5 Aug 2009 11:18:37 GMT
From: tip-bot for Pekka Enberg <penberg@...helsinki.fi>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
penberg@...helsinki.fi, peterz@...radead.org, tglx@...utronix.de,
mingo@...e.hu
Subject: [tip:perfcounters/urgent] perf report: Make --sort comm,dso,symbol the default
Commit-ID: 114cfab222233f50f46d7162cf7d99fdc6c271e5
Gitweb: http://git.kernel.org/tip/114cfab222233f50f46d7162cf7d99fdc6c271e5
Author: Pekka Enberg <penberg@...helsinki.fi>
AuthorDate: Wed, 5 Aug 2009 13:25:21 +0300
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Wed, 5 Aug 2009 13:16:04 +0200
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@...helsinki.fi>
Acked-by: Peter Zijlstra <peterz@...radead.org>
Cc: acme@...hat.com
LKML-Reference: <1249467921-10450-1-git-send-email-penberg@...helsinki.fi>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
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 ce4f286..8cb58d6 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -31,7 +31,7 @@
static char const *input_name = "perf.data";
static char *vmlinux = NULL;
-static char default_sort_order[] = "comm,dso";
+static char default_sort_order[] = "comm,dso,symbol";
static char *sort_order = default_sort_order;
static char *dso_list_str, *comm_list_str, *sym_list_str,
*col_width_list_str;
@@ -1424,7 +1424,7 @@ print_entries:
if (sort_order == default_sort_order &&
parent_pattern == default_parent_pattern) {
fprintf(fp, "#\n");
- fprintf(fp, "# (For more details, try: perf report --sort comm,dso,symbol)\n");
+ fprintf(fp, "# (For a higher level overview, try: perf report --sort comm,dso)\n");
fprintf(fp, "#\n");
}
fprintf(fp, "\n");
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists