Skip to content

Commit 039fd06

Browse files
Leo-Yanacmel
authored andcommitted
perf arm_spe: Correct setting remote access
Set the mem_remote field for a remote access to appropriately represent the event. Fixes: a89dbc9 ("perf arm-spe: Set sample's data source field") Reviewed-by: James Clark <[email protected]> Signed-off-by: Leo Yan <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ali Saidi <[email protected]> Cc: German Gomez <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 035c178 commit 039fd06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/util/arm-spe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ static void arm_spe__synth_memory_level(const struct arm_spe_record *record,
828828
}
829829

830830
if (record->type & ARM_SPE_REMOTE_ACCESS)
831-
data_src->mem_lvl |= PERF_MEM_LVL_REM_CCE1;
831+
data_src->mem_remote = PERF_MEM_REMOTE_REMOTE;
832832
}
833833

834834
static bool arm_spe__synth_ds(struct arm_spe_queue *speq,

0 commit comments

Comments
 (0)