aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/shell/lib/perf_json_output_lint.py
diff options
context:
space:
mode:
authorLeo Yan <[email protected]>2025-03-04 11:12:34 +0000
committerNamhyung Kim <[email protected]>2025-03-05 17:13:19 +0000
commite1d47850bbf79a541c9b3bacdd562f5e0112274d (patch)
treee4d8b16123858349fd1b6b7df03c14c59255330a /tools/perf/tests/shell/lib/perf_json_output_lint.py
parentperf script: Add not taken event for branch stack (diff)
downloadkernel-e1d47850bbf79a541c9b3bacdd562f5e0112274d.tar.gz
kernel-e1d47850bbf79a541c9b3bacdd562f5e0112274d.zip
perf arm-spe: Fix load-store operation checking
The ARM_SPE_OP_LD and ARM_SPE_OP_ST operations are secondary operation type, they are overlapping with other second level's operation types belonging to SVE and branch operations. As a result, a non load-store operation can be parsed for data source and memory sample. To fix the issue, this commit introduces a is_ldst_op() macro for checking LDST operation, and apply the checking when synthesize data source and memory samples. Fixes: a89dbc9b988f ("perf arm-spe: Set sample's data source field") Signed-off-by: Leo Yan <[email protected]> Reviewed-by: James Clark <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/tests/shell/lib/perf_json_output_lint.py')
0 files changed, 0 insertions, 0 deletions