From: Andi Kleen <ak@linux.intel.com>
To: Kim Phillips <kim.phillips@arm.com>
Cc: "Christian Hansen (chansen3)" <chansen3@cisco.com>,
coresight@lists.linaro.org,
"linux-perf-users@vger.kernel.org"
<linux-perf-users@vger.kernel.org>
Subject: Re: Recording memory addresses on ARM
Date: Thu, 08 Feb 2018 21:21:55 -0800 [thread overview]
Message-ID: <87y3k2vito.fsf@linux.intel.com> (raw)
In-Reply-To: <20180208212021.3bc3adc85abdcfb2cd4fd2e7@arm.com> (Kim Phillips's message of "Thu, 8 Feb 2018 21:20:21 -0600")
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
next prev parent reply other threads:[~2018-02-09 5:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-08 15:17 Recording memory addresses on ARM Christian Hansen (chansen3)
2018-02-09 3:20 ` Kim Phillips
2018-02-09 5:21 ` Andi Kleen [this message]
2018-02-09 10:56 ` Mike Leach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y3k2vito.fsf@linux.intel.com \
--to=ak@linux.intel.com \
--cc=chansen3@cisco.com \
--cc=coresight@lists.linaro.org \
--cc=kim.phillips@arm.com \
--cc=linux-perf-users@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).