linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Vince Weaver <vince@deater.net>
Cc: Andi Kleen <andi@firstfloor.org>,
	Yuanfang Chen <tabloid.adroit@gmail.com>,
	linux-perf-users@vger.kernel.org
Subject: Re: measuring offcore events on snb
Date: Sun, 16 Sep 2012 05:02:44 +0200	[thread overview]
Message-ID: <20120916030244.GA16230@one.firstfloor.org> (raw)
In-Reply-To: <alpine.DEB.2.02.1209152103400.576@pianoman.cluster.toy>

> the kernel has had raw offcore response support since 3.3.  It works
> fine.  It's just not easy to get if you use the "perf" tool.  (PAPI and 

It is easy. Just write the MSR.

> as far as I know the only way to do it is to use the rediculous
>    -e cpu/cmask=1,event=2,umask=3,config1=3f80408fff
http://www.heise.de/netze/news/foren/S-Europaeischer-IPv4-Adresspool-erreicht-die-Reserve/forum-237910/list/e-22434521/hs-16/

Ah true. Good point. That thing always reminds me of JCL. Setting the MSR is 
probably easier though...

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.

  reply	other threads:[~2012-09-16  3:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-15 17:50 measuring offcore events on snb Yuanfang Chen
2012-09-15 22:51 ` Andi Kleen
2012-09-16  1:06   ` Vince Weaver
2012-09-16  3:02     ` Andi Kleen [this message]
2012-09-16  5:40     ` Yuanfang Chen

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=20120916030244.GA16230@one.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=tabloid.adroit@gmail.com \
    --cc=vince@deater.net \
    /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).