diff options
| author | Leo Yan <[email protected]> | 2025-03-04 11:12:34 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2025-03-05 17:13:19 +0000 |
| commit | e1d47850bbf79a541c9b3bacdd562f5e0112274d (patch) | |
| tree | e4d8b16123858349fd1b6b7df03c14c59255330a /tools/perf/tests/shell/lib/perf_json_output_lint.py | |
| parent | perf script: Add not taken event for branch stack (diff) | |
| download | kernel-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
