perf list: Add metrics to command line usage
Ian Rogers
reviewerPATCH 1/1 perf list: Add metrics to command line usage
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 <[email protected]>
--- tools/perf/builtin-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/builtin-list.c +1 -1
@@ -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 };
Signature · 1 line
2.27.0.rc0.183.gde8f92d652-goog
Em Thu, May 21, 2020 at 11:45:46PM -0700, Ian Rogers escreveu:
Quoted 15 lines
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 <[email protected]>--- tools/perf/builtin-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/perf/builtin-list.c +0
-0
tools/perf/builtin-list.c int cmd_list(int argc, const char **argv) · line 48
Quoted 8 lines
tools/perf/builtin-list.c +1
-1@@ -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.