From: Namhyung Kim <namhyung.kim@lge.com>
To: David Wragg <david@wragg.org>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: LLC-* events not working on sandybridge
Date: Mon, 30 Apr 2012 17:43:02 +0900 [thread overview]
Message-ID: <87ehr5sj8p.fsf@sejong.aot.lge.com> (raw)
In-Reply-To: <sa7r4v7foi5.fsf@wragg.org> (David Wragg's message of "Sun, 29 Apr 2012 00:03:14 +0100")
Hi,
On Sun, 29 Apr 2012 00:03:14 +0100, David Wragg wrote:
> Hi,
>
> I've run into a problem with perf on an Intel Sandybridge machine: The
> LLC-* events never seem to trigger.
>
> For example:
>
> $ perf stat -e LLC-load-misses ls /
> [...]
> 0 LLC-load-misses
>
> 0.001082639 seconds time elapsed
>
> Non-LLC events work fine:
>
> $ perf stat -e cache-misses ls /
> [...]
> 4,272 cache-misses
>
> 0.002945606 seconds time elapsed
>
> This is on a Intel i5 machine (i5-2520M), running a fully updated Fedora
> 16 ('perf --version': 3.3.2-6.fc16.x86_64, 'uname -r':
> 3.3.2-6.fc16.x86_64).
>
> Any ideas?
>
> David
I have a same problem on my i7-3930K machine. I guess it's because of
lacking of extra register (MSP_OFFCORE_RSP_X) settings. But I have no
idea of how I can set it properly :(.
Thanks,
Namhyung
next prev parent reply other threads:[~2012-04-30 8:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-28 23:03 LLC-* events not working on sandybridge David Wragg
2012-04-30 8:43 ` Namhyung Kim [this message]
2012-04-30 17:50 ` David Wragg
2012-05-02 0:53 ` Namhyung Kim
2012-05-05 23:48 ` David Wragg
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=87ehr5sj8p.fsf@sejong.aot.lge.com \
--to=namhyung.kim@lge.com \
--cc=david@wragg.org \
--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