Thread (21 messages) 21 messages, 2 authors, 2025-09-11

Re: [PATCH v4 03/15] perf arm_spe: Correct setting remote access

From: James Clark <james.clark@linaro.org>
Date: 2025-09-11 15:25:02
Also in: linux-perf-users


On 31/07/2025 2:25 pm, Leo Yan wrote:
quoted hunk ↗ jump to hunk
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")
Signed-off-by: Leo Yan <leo.yan@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 8942fa598a84fb70f8c66649395bfbedcd42d380..8ecf7142dcd8705c13c27e0cbacd69647dc4fd22 100644
--- a/tools/perf/util/arm-spe.c
+++ b/tools/perf/util/arm-spe.c
@@ -839,7 +839,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,
Reviewed-by: James Clark <james.clark@linaro.org>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help