From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: mingo@elte.hu, linux-kernel@vger.kernel.org, acme@redhat.com
Subject: Re: [PATCH] perf report: Make --sort comm,dso,symbol the default
Date: Wed, 05 Aug 2009 12:41:18 +0200 [thread overview]
Message-ID: <1249468878.7924.251.camel@twins> (raw)
In-Reply-To: <1249467921-10450-1-git-send-email-penberg@cs.helsinki.fi>
On Wed, 2009-08-05 at 13:25 +0300, Pekka Enberg wrote:
> If you're doing performance testing, you're interested in the symbols
> anyway so lets make "--sort comm,dso,symbol" the default sort option.
Seems sensible,
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
> ---
> 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 b20a4b6..181cef1 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;
> @@ -1423,7 +1423,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 an high level overview, try: perf report --sort comm,dso)\n");
> fprintf(fp, "#\n");
> }
> fprintf(fp, "\n");
next prev parent reply other threads:[~2009-08-05 10:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-05 10:25 [PATCH] perf report: Make --sort comm,dso,symbol the default Pekka Enberg
2009-08-05 10:41 ` Peter Zijlstra [this message]
2009-08-05 12:41 ` Arnaldo Carvalho de Melo
2009-08-05 11:18 ` [tip:perfcounters/urgent] " tip-bot for Pekka Enberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1249468878.7924.251.camel@twins \
--to=a.p.zijlstra@chello.nl \
--cc=acme@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=penberg@cs.helsinki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox