All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: "H. Taheri" <rezato@gmail.com>
Cc: "linux-perf-users@vger.kernel.org" <linux-perf-users@vger.kernel.org>
Subject: Re: Not getting PMC events on Broadwell-EX
Date: Tue, 08 Aug 2017 09:32:25 -0700	[thread overview]
Message-ID: <878tiu3tra.fsf@firstfloor.org> (raw)
In-Reply-To: <B10BA2E5-3BC7-481F-8EC7-DFEB229526EC@vmware.com> (H. Taheri's message of "Mon, 7 Aug 2017 21:37:19 -0700")

"H. Taheri" <rezato@gmail.com> writes:

> I am getting 0s, or <not supported>, or <not counted>  for events that are supposed to work on this processor. For example, according to Intel documentation, L2_RQSTS.MISS and L2_RQSTS.REFERENCES are supported on this processor with event code 0x24 and unit masks 0x3f and 0xff. But when I run perf stat (also with -d -d -d to see if the built-in command options can get the cache stats), I get:
>
> [root@prme-perf-broadwell-2 intel]# perf stat -d -d -d -e cycles -e instructions -e r24ff -e r243f sleep 10

You're missing -a, so it's only measuring sleep itself.

-Andi

  parent reply	other threads:[~2017-08-08 16:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-08  4:37 Not getting PMC events on Broadwell-EX H. Taheri
2017-08-08 13:53 ` Vince Weaver
2017-08-08 16:32 ` Andi Kleen [this message]
2017-08-08 16:54 ` Reza Taheri

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=878tiu3tra.fsf@firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=rezato@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.