[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151025084834.GB24337@gmail.com>
Date: Sun, 25 Oct 2015 09:48:35 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Namhyung Kim <namhyung@...nel.org>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Jiri Olsa <jolsa@...hat.com>,
LKML <linux-kernel@...r.kernel.org>,
David Ahern <dsahern@...il.com>
Subject: Re: [PATCH 1/4] perf tools: Improve ambiguous option help message
* Namhyung Kim <namhyung@...nel.org> wrote:
> Currently if an option name is ambiguous it only prints first two
> matched option names but no help. It'd be better it could show all
> possible names and help messages too.
>
> Before:
> $ perf report --show
> Error: Ambiguous option: show (could be --show-total-period or
> --show-ref-call-graph)
> Usage: perf report [<options>]
>
> After:
> $ perf report --show
> Error: Ambiguous option: show (could be --show-total-period or
> --show-ref-call-graph)
> Usage: perf report [<options>]
>
> -n, --show-nr-samples
> Show a column with the number of samples
> --showcpuutilization
> Show sample percentage for different cpu modes
> -I, --show-info Display extended information about perf.data file
> --show-total-period
> Show a column with the sum of periods
> --show-ref-call-graph
> Show callgraph from reference event
Very nice touch!
Acked-by: Ingo Molnar <mingo@...nel.org>
Thanks,
Ingo
--
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