From: "Liang, Kan" <kan.liang@intel.com>
To: Stephane Eranian <eranian@google.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
"mingo@redhat.com" <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
"ak@linux.intel.com" <ak@linux.intel.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH 1/1] perf/x86: Add Intel power cstate PMUs support
Date: Fri, 24 Jul 2015 20:57:43 +0000 [thread overview]
Message-ID: <37D7C6CF3E00A74B8858931C1DB2F077018CC567@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <CABPqkBTSRYMWYXVQCjvCuR328QFAWo9B2SXVftaN3MCF_GGC_A@mail.gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 2077 bytes --]
> > + * MSR_PKG_C6_RESIDENCY: Package C6 Residency Counter.
> > + * perf code: 0x06
> > + * Available model: NHM,WSM,SNB,IVB,HSW,BDW
> > + * Scope: Package (physical package)
> > + * MSR_PKG_C7_RESIDENCY: Package C7 Residency Counter.
> > + * perf code: 0x07
> > + * Available model: NHM,WSM,SNB,IVB,HSW,BDW
> > + * Scope: Package (physical package)
> > + * MSR_PKG_C8_RESIDENCY: Package C8 Residency Counter.
> > + * perf code: 0x08
> > + * Available model: HSW ULT only
> > + * Scope: Package (physical package)
> > + * MSR_PKG_C9_RESIDENCY: Package C9 Residency Counter.
> > + * perf code: 0x09
> > + * Available model: HSW ULT only
> > + * Scope: Package (physical package)
> > + * MSR_PKG_C10_RESIDENCY: Package C10 Residency Counter.
> > + * perf code: 0x0a
> > + * Available model: HSW ULT only
> > + * Scope: Package (physical package)
> > + * MSR_SLM_PKG_C6_RESIDENCY: Package C6 Residency Counter for
> SLM.
> > + * perf code: 0x0b
> > + * Available model: SLM,AMT
> > + * Scope: Package (physical package)
> > + *
> > + */
> > +
> Why would the user (and the tools) have to change the event code to
> measure, let's say C6 residency, between SLM (0xb) and and BDW (0x6)?
> Are they not measuring the same thing?
>
Yes, they are measuring the same thing, but with different MSR.
I will make their event code consistent and special handle PKG_C6
in event_init in next version.
Thanks,
Kan
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next prev parent reply other threads:[~2015-07-24 20:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-24 12:39 kan.liang
2015-07-24 20:45 ` Stephane Eranian
2015-07-24 20:57 ` Liang, Kan [this message]
2015-07-24 21:26 ` Stephane Eranian
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=37D7C6CF3E00A74B8858931C1DB2F077018CC567@SHSMSX103.ccr.corp.intel.com \
--to=kan.liang@intel.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@kernel.org \
--cc=ak@linux.intel.com \
--cc=eranian@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®