perf list: Unify metric group description format with PMU event description
authorMichael Petlan <mpetlan@redhat.com>
Mon, 30 Jul 2018 21:35:04 +0000 (17:35 -0400)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 31 Jul 2018 14:35:44 +0000 (11:35 -0300)
commit95f04328e42dc7d1eb08f3cb38150c1f2ec09f57
tree7514d4ef331fae7656423da211d6556f899ebc8b
parentb9b77222d4ff6b5bb8f5d87fca20de0910618bb9
perf list: Unify metric group description format with PMU event description

PMU event descriptions use 7 spaces + '[' or 8 spaces as indentation.
Metric groups used a tab + '['. This patch unifies it to the way PMU
event descriptions are indented.

BEFORE:

  $ perf list
  [...]
  Metric Groups:

  DSB:
    DSB_Coverage
  [Fraction of Uops delivered by the DSB (aka Decoded Icache; or Uop Cache)]
  [...]

AFTER:

  $ perf list
  [...]
  Metric Groups:

  DSB:
    DSB_Coverage
         [Fraction of Uops delivered by the DSB (aka Decoded Icache; or Uop Cache)]
  [...]

Signed-off-by: Michael Petlan <mpetlan@redhat.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Kim Phillips <kim.phillips@arm.com>
LPU-Reference: 771439042.22924766.1532986504631.JavaMail.zimbra@redhat.com
Link: https://lkml.kernel.org/n/tip-mlo850517m6u1rbjndvd1bwr@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/metricgroup.c