[PATCH v5 03/14] perf arm_spe: Correct setting remote access
Leo Yan
leo.yan at arm.com
Fri Sep 12 08:42:08 PDT 2025
Set the mem_remote field for a remote access to appropriately represent
the event.
Fixes: a89dbc9b988f ("perf arm-spe: Set sample's data source field")
Reviewed-by: James Clark <james.clark at linaro.org>
Signed-off-by: Leo Yan <leo.yan at arm.com>
---
tools/perf/util/arm-spe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/util/arm-spe.c b/tools/perf/util/arm-spe.c
index 228ed52e653d7873c1d07404671447db03a10e59..63a32255197ab8b1400badeddfb439d4dc5813c4 100644
--- a/tools/perf/util/arm-spe.c
+++ b/tools/perf/util/arm-spe.c
@@ -828,7 +828,7 @@ static void arm_spe__synth_memory_level(const struct arm_spe_record *record,
}
if (record->type & ARM_SPE_REMOTE_ACCESS)
- data_src->mem_lvl |= PERF_MEM_LVL_REM_CCE1;
+ data_src->mem_remote = PERF_MEM_REMOTE_REMOTE;
}
static bool arm_spe__synth_ds(struct arm_spe_queue *speq,
--
2.34.1
More information about the linux-arm-kernel
mailing list