diff options
author | Andi Kleen <ak@linux.intel.com> | 2019-03-14 23:49:53 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-03-19 15:56:19 +0100 |
commit | 6f40b2a5dac4b448fe1e8d94dc4238cd95cd5e34 (patch) | |
tree | f2d383f352da28b9bee0aa6b757cc2214d9c80be /tools/perf/util/data.c | |
parent | tools lib bpf: Fix the build by adding a missing stdarg.h include (diff) | |
download | linux-6f40b2a5dac4b448fe1e8d94dc4238cd95cd5e34.tar.xz linux-6f40b2a5dac4b448fe1e8d94dc4238cd95cd5e34.zip |
perf list: Filter metrics too
When a filter is specified on the command line, filter the metrics too.
Before:
% perf list foo
List of pre-defined events (to be used in -e):
Metric Groups:
DSB:
DSB_Coverage
[Fraction of Uops delivered by the DSB (aka Decoded Icache; or Uop Cache)]
... more metrics ...
After:
% perf list foo
List of pre-defined events (to be used in -e):
Metric Groups:
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
LPU-Reference: 20190314225002.30108-1-andi@firstfloor.org
Link: https://lkml.kernel.org/n/tip-1y8oi2s8c4jhjtykgs5zvda1@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/data.c')
0 files changed, 0 insertions, 0 deletions