Re: [PATCH v1 05/10] perf, report: Show all sort keys in help output

From: Jiri Olsa
Date: Tue Mar 12 2019 - 06:30:32 EST


On Mon, Mar 11, 2019 at 01:24:41PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Show all the supported sort keys in the command line help output,
> so that it's not needed to refer to the manpage.
>
> The output is not line wrapped, so it can be fairly long.
>
> Before:
>
> % perf report -h
> ...
> -s, --sort <key[,key2...]>
> sort by key(s): pid, comm, dso, symbol, parent, cpu, srcline, ... Please refer the man page for the complete list.
>
> After:
>
> % perf report -h
> ...
> -s, --sort <key[,key2...]>
> sort by key(s): overhead overhead_sys overhead_us overhead_guest_sys overhead_guest_us overhead_children sample period pid comm dso symbol parent cpu ...

that line goes forever now, please provide some formating
into multiple lines

jirka