perf tools metric: Don't include duration_time in group
authorAndi Kleen <ak@linux.intel.com>
Fri, 28 Jun 2019 22:07:37 +0000 (15:07 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 2 Jul 2019 19:08:16 +0000 (16:08 -0300)
commit488c3bf7ece89e47887607863207021283e37828
tree14eadba4ed9431e4fdd4d6b52e89a9af5cc48d15
parent9c344d15f5783260f57c711f3fce72dd744bebe2
perf tools metric: Don't include duration_time in group

The Memory_BW metric generates groups including duration_time, which
maps to a software event.

For some reason this makes the group always not count.

Always put duration_time outside a group when generating metrics.  It's
always the same time, so no need to group it.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20190628220737.13259-3-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/metricgroup.c