diff options
| author | Namhyung Kim <namhyung@kernel.org> | 2025-11-20 03:47:26 +0300 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-11-20 22:11:48 +0300 |
| commit | 3ce77655f026a316442f23d47da6c5cd89c1fdac (patch) | |
| tree | 1dc1ee2927fffbebb9e13d343a233b929cf09ba9 /tools/lib/python | |
| parent | 58e0a81e76bf274afe7d24d80d7855a7642bb52a (diff) | |
| download | linux-3ce77655f026a316442f23d47da6c5cd89c1fdac.tar.xz | |
perf list: Support filtering in JSON output
Like regular output mode, it should honor command line arguments to
limit to a certain type of PMUs or events.
$ perf list -j hw
[
{
"Unit": "cpu",
"Topic": "legacy hardware",
"EventName": "branch-instructions",
"EventType": "Kernel PMU event",
"BriefDescription": "Retired branch instructions [This event is an alias of branches]",
"Encoding": "cpu/event=0xc4\n/"
},
{
"Unit": "cpu",
"Topic": "legacy hardware",
"EventName": "branch-misses",
"EventType": "Kernel PMU event",
"BriefDescription": "Mispredicted branch instructions",
"Encoding": "cpu/event=0xc5\n/"
},
...
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
