summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2025-11-20 03:47:26 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-11-20 22:11:48 +0300
commit3ce77655f026a316442f23d47da6c5cd89c1fdac (patch)
tree1dc1ee2927fffbebb9e13d343a233b929cf09ba9 /tools/perf/scripts/python
parent58e0a81e76bf274afe7d24d80d7855a7642bb52a (diff)
downloadlinux-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/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions