Re: [PATCH] perf list: Add metrics to command line usage

From: Arnaldo Carvalho de Melo
Date: Fri May 22 2020 - 10:48:06 EST


Em Thu, May 21, 2020 at 11:45:46PM -0700, Ian Rogers escreveu:
> Before:
> Usage: perf list [<options>] [hw|sw|cache|tracepoint|pmu|sdt|event_glob]
> After:
> Usage: perf list [<options>] [hw|sw|cache|tracepoint|pmu|sdt|metric|metricgroup|event_glob]
> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
> ---
> tools/perf/builtin-list.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/builtin-list.c b/tools/perf/builtin-list.c
> index 965ef017496f..0a7fe4cb5555 100644
> --- a/tools/perf/builtin-list.c
> +++ b/tools/perf/builtin-list.c
> @@ -42,7 +42,7 @@ int cmd_list(int argc, const char **argv)
> OPT_END()
> };
> const char * const list_usage[] = {
> - "perf list [<options>] [hw|sw|cache|tracepoint|pmu|sdt|event_glob]",
> + "perf list [<options>] [hw|sw|cache|tracepoint|pmu|sdt|metric|metricgroup|event_glob]",
> NULL
> };
>
> --

Thanks, applied.