From: Michael Ellerman <michael@ellerman.id.au>
To: Milian Wolff <mail@milianw.de>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: perf mem: invalid or unsupported event: 'cpu/mem-loads/pp'
Date: Tue, 23 Jul 2013 11:46:49 +1000 [thread overview]
Message-ID: <1374544009.5545.2.camel@concordia> (raw)
In-Reply-To: <6210395.6gJQB6qfUl@minime>
On Mon, 2013-07-22 at 19:34 +0200, Milian Wolff wrote:
> Hey there,
>
> I just found perf mem in the output of perf help and wanted to try it:
>
> $ perf mem record ls
> invalid or unsupported event: 'cpu/mem-loads/pp'
> Run 'perf list' for a list of valid events
>
> usage: perf record [<options>] [<command>]
> ...
>
> Am I missing a kernel configuration? Or what is going on here?
You need a kernel that has mem-loads in /sys/bus/event_source/devices/cpu/events
Assuming you're on x86 you'll need a 3.10 or later kernel.
cheers
next prev parent reply other threads:[~2013-07-23 1:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-22 17:34 perf mem: invalid or unsupported event: 'cpu/mem-loads/pp' Milian Wolff
2013-07-23 1:46 ` Michael Ellerman [this message]
2015-06-14 12:06 ` Milian Wolff
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=1374544009.5545.2.camel@concordia \
--to=michael@ellerman.id.au \
--cc=linux-perf-users@vger.kernel.org \
--cc=mail@milianw.de \
/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).