Skip to content

Commit ec29c3e

Browse files
Leo-Yangregkh
authored andcommitted
perf arm_spe: Correct setting remote access
[ Upstream commit 039fd06 ] 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 <james.clark@linaro.org> Signed-off-by: Leo Yan <leo.yan@arm.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ali Saidi <alisaidi@amazon.com> Cc: German Gomez <german.gomez@arm.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Will Deacon <will@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent bdde538 commit ec29c3e

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
@@ -514,7 +514,7 @@ static void arm_spe__synth_data_source_generic(const struct arm_spe_record *reco
514514
}
515515

516516
if (record->type & ARM_SPE_REMOTE_ACCESS)
517-
data_src->mem_lvl |= PERF_MEM_LVL_REM_CCE1;
517+
data_src->mem_remote = PERF_MEM_REMOTE_REMOTE;
518518
}
519519

520520
static u64 arm_spe__synth_data_source(const struct arm_spe_record *record, u64 midr)

0 commit comments

Comments
 (0)