Kim Phillips kim.phillips@arm.com writes:
I see ./perf report --help says:
--mem-mode Use the data addresses of samples in addition to instruction addresses to build the histograms. To generate meaningful output, the perf.data file must have been obtained using perf record -d -W and using a special event -e cpu/mem-loads/ or -e cpu/mem-stores/. See perf mem for simpler access.
yet perf record's -W switch isn't on record's manpage, and trying the invocation sequence on x86 using a perf built from today's acme's perf/urgent branch:
$ ./perf version perf version 4.13.rc5.g59410f5 $ ./perf record -e cpu/mem-loads/u -d -W -p 3722 sleep 1
The help suggestion seems to be incorrect, this needs to be cpu/mem-loads/upp (pp to enable PEBS)
With PEBS the event produces no samples.
-Andi