lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 05 Aug 2009 12:41:18 +0200
From:	Peter Zijlstra <a.p.zijlstra@...llo.nl>
To:	Pekka Enberg <penberg@...helsinki.fi>
Cc:	mingo@...e.hu, linux-kernel@...r.kernel.org, acme@...hat.com
Subject: Re: [PATCH] perf report: Make --sort comm,dso,symbol the default

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@...llo.nl>

> Signed-off-by: Pekka Enberg <penberg@...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");

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ