Skip to content

Commit 0cef141

Browse files
Andi Kleenacmel
authored andcommitted
perf list: Fix metricgroups title message
$ perf list metricgroups gives List of pre-defined events (to be used in -e): Metric Groups: Backend Bad BadSpec But that's incorrect of course because metric groups or metrics can only be specified with -M. So fix the message to say -e or -M Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20221004192634.998984-1-ak@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 7d60fa2 commit 0cef141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/builtin-list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ int cmd_list(int argc, const char **argv)
6060
setup_pager();
6161

6262
if (!raw_dump && pager_in_use())
63-
printf("\nList of pre-defined events (to be used in -e):\n\n");
63+
printf("\nList of pre-defined events (to be used in -e or -M):\n\n");
6464

6565
if (hybrid_type) {
6666
pmu_name = perf_pmu__hybrid_type_to_pmu(hybrid_type);

0 commit comments

Comments
 (0)