]> git.baikalelectronics.ru Git - kernel.git/commit
perf list: Fix metricgroups title message
authorAndi Kleen <ak@linux.intel.com>
Tue, 4 Oct 2022 19:26:34 +0000 (12:26 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 14 Oct 2022 15:21:42 +0000 (12:21 -0300)
commit14395eff39e341a52cbb6590d39ae4af69d2fe38
treefa55edfc965cd604cb1b83309a59f721eee04e1d
parent105d5cb4d6a058f966fd53b8f416bb1bb1b853f3
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>
tools/perf/builtin-list.c