mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-04-08 12:02:33 +02:00
perf arm_spe: Correct memory level for remote access
For remote accesses, the data source packet does not contain information
about the memory level. To avoid misinformation, set the memory level to
NA (Not Available).
Fixes: 4e6430cbb1 ("perf arm-spe: Use SPE data source for neoverse cores")
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>
This commit is contained in:
committed by
Arnaldo Carvalho de Melo
parent
039fd0634a
commit
cb300e3515
@@ -659,8 +659,8 @@ static void arm_spe__synth_data_source_common(const struct arm_spe_record *recor
|
||||
* socket
|
||||
*/
|
||||
case ARM_SPE_COMMON_DS_REMOTE:
|
||||
data_src->mem_lvl = PERF_MEM_LVL_REM_CCE1;
|
||||
data_src->mem_lvl_num = PERF_MEM_LVLNUM_ANY_CACHE;
|
||||
data_src->mem_lvl = PERF_MEM_LVL_NA;
|
||||
data_src->mem_lvl_num = PERF_MEM_LVLNUM_NA;
|
||||
data_src->mem_remote = PERF_MEM_REMOTE_REMOTE;
|
||||
data_src->mem_snoopx = PERF_MEM_SNOOPX_PEER;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user