From: Andi Kleen <ak@linux.intel.com>
To: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: perf memory metrics on ec2 instance
Date: Sun, 07 Jan 2018 21:09:30 -0800 [thread overview]
Message-ID: <87o9m53pit.fsf@linux.intel.com> (raw)
In-Reply-To: <CA+q6zcWn=J6s-9=AyVYgQW+J56edeEn3EuBX78oP2QwmQKTgog@mail.gmail.com> (Dmitry Dolgov's message of "Sun, 7 Jan 2018 16:37:11 +0100")
Dmitry Dolgov <9erthalion6@gmail.com> writes:
>> On 4 January 2018 at 00:36, Andi Kleen <ak@linux.intel.com> wrote:
>>
>> perf mem requires PEBS. PEBS is currently not supported in VMs. You
>> should let Amazon know that you need it though, so it could be possibly
>> implemented.
>
> Thanks for the explanation. Is there any alternative way to get memory
> counters? If I need to know only how many times an event appeared, can I do
> more or less the same with perf stat -e 'counter_name' without PEBS support?
Counting these events should work if the PMU is enabled. I believe you
need a special setup in AWS to get the PMU enabled though.
-Andi
next prev parent reply other threads:[~2018-01-08 21:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-03 14:50 perf memory metrics on ec2 instance Dmitry Dolgov
2018-01-03 23:36 ` Andi Kleen
2018-01-07 15:37 ` Dmitry Dolgov
2018-01-08 5:09 ` Andi Kleen [this message]
2018-01-07 21:59 ` Brendan Gregg
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=87o9m53pit.fsf@linux.intel.com \
--to=ak@linux.intel.com \
--cc=9erthalion6@gmail.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).