This patch set fixes problems related to address in synthesized events from SPE. Committer testing: perf record --no-bpf-event -e arm_spe_0/pa_enable=1/ -- sleep 1 perf inject -i perf.data -o perf-inj.data --itrace --strip perf script -i perf-inj.data --fields hw:+addr,+phys_addr Before: sleep 49337 [004] 20133.731889: 1 l1d-access: ffffcbebcde1d5b8 [unknown] ([unknown]) sleep 49337 [004] 20133.731889: 1 tlb-access: ffffcbebcde1d5b8 [unknown] ([unknown]) sleep 49337 [004] 20133.731889: 1 memory: ffffcbebcde1d5b8 [unknown] ([unknown]) After: sleep 49337 [004] 20133.731889: 1 l1d-access: ffff800034123970 ffffcbebcde1d5b8 [unknown] ([unknown]) 153d19970 sleep 49337 [004] 20133.731889: 1 tlb-access: ffff800034123970 ffffcbebcde1d5b8 [unknown] ([unknown]) 153d19970 sleep 49337 [004] 20133.731889: 1 memory: ffff800034123970 ffffcbebcde1d5b8 [unknown] ([unknown]) 153d19970 tools/perf/arch/arm64/util/arm-spe.c | 10 ++++++++++ tools/perf/tests/attr/README | 1 + tools/perf/tests/attr/test-record-spe-physical-address | 12 ++++++++++++ tools/perf/util/arm-spe.c | 5 +++-- 4 files changed, 26 insertions(+), 2 deletions(-)