]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
perf stat: Check for frontend stalled for metrics
authorAndi Kleen <ak@linux.intel.com>
Tue, 1 Mar 2016 18:57:52 +0000 (10:57 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 3 Mar 2016 14:10:40 +0000 (11:10 -0300)
commitfb4605ba47e772ff9d62d1d54218a832ec8b3e1d
tree1d31d9bf1378cc014ce4a96fa818b1ef119256b9
parent1b69317d2dc80bc8e1d005e1a771c4f5bff3dabe
perf stat: Check for frontend stalled for metrics

Add an extra check for frontend stalled in the metrics.  This avoids an
extra column for the --metric-only case when the CPU does not support
frontend stalled.

v2: Add separate init function

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/1456858672-21594-8-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c
tools/perf/util/stat-shadow.c
tools/perf/util/stat.h