diff options
| author | Leo Yan <leo.yan@arm.com> | 2025-03-04 14:12:34 +0300 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-03-05 20:13:19 +0300 |
| commit | e1d47850bbf79a541c9b3bacdd562f5e0112274d (patch) | |
| tree | e4d8b16123858349fd1b6b7df03c14c59255330a /tools/perf/scripts/python/sched-migration.py | |
| parent | 1e66dcff7b9bae2abc928d0e24fbb68e206365bb (diff) | |
| download | linux-e1d47850bbf79a541c9b3bacdd562f5e0112274d.tar.xz | |
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 <leo.yan@arm.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Link: https://lore.kernel.org/r/20250304111240.3378214-7-leo.yan@arm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
