]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit258c72f0bb760d7759eab6441c0044bc11fadd40
tree14eadba4ed9431e4fdd4d6b52e89a9af5cc48d15
parentc3870dbe4295f9be047db8382972cbfe72790fc9
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