diff options
| author | Andi Kleen <[email protected]> | 2019-03-14 22:49:53 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-03-19 14:56:19 +0000 |
| commit | 6f40b2a5dac4b448fe1e8d94dc4238cd95cd5e34 (patch) | |
| tree | f2d383f352da28b9bee0aa6b757cc2214d9c80be /tools/perf/builtin-script.c | |
| parent | tools lib bpf: Fix the build by adding a missing stdarg.h include (diff) | |
| download | kernel-6f40b2a5dac4b448fe1e8d94dc4238cd95cd5e34.tar.gz kernel-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 <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
LPU-Reference: [email protected]
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
