From: Lin Ming <ming.m.lin@intel.com>
To: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>,
Ingo Molnar <mingo@redhat.com>,
Frederic Weisbecker <fweisbec@gmail.com>,
Arjan van de Ven <arjan@infradead.org>,
"robert.richter@amd.com" <robert.richter@amd.com>,
Cyrill Gorcunov <gorcunov@gmail.com>,
"paulus@samba.org" <paulus@samba.org>,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>,
Corey Ashford <cjashfor@linux.vnet.ibm.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [DRAFT PATCH 2/3] perf: Implement Nehalem uncore pmu
Date: Fri, 05 Nov 2010 09:30:29 +0800 [thread overview]
Message-ID: <1288920629.2430.0.camel@minggr.sh.intel.com> (raw)
In-Reply-To: <1288898929.2039.78.camel@laptop>
On Fri, 2010-11-05 at 03:28 +0800, Peter Zijlstra wrote:
> On Tue, 2010-11-02 at 17:59 +0100, Stephane Eranian wrote:
> > I think using uncore PMU to measure per-thread is pretty much useless.
> > Maybe it should not even be allowed. There is no way you can correlate
> > the counts you're getting to a place in your program. Or put differently,
> > sampling in per-thread mode using uncore is useless.
>
> Right, per-task uncore event should not be allowed. I think it as simple
> as setting pmu::task_ctx_nr = perf_invalid_context.
Thanks for the comments from you and Stephane.
I'll update the patches.
Lin Ming
next prev parent reply other threads:[~2010-11-05 1:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-02 7:28 Lin Ming
2010-11-02 14:53 ` Stephane Eranian
2010-11-02 15:33 ` Lin Ming
2010-11-02 16:59 ` Stephane Eranian
2010-11-04 19:28 ` Peter Zijlstra
2010-11-05 1:30 ` Lin Ming [this message]
2010-11-08 12:20 ` Andi Kleen
2010-11-09 5:01 ` Lin Ming
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=1288920629.2430.0.camel@minggr.sh.intel.com \
--to=ming.m.lin@intel.com \
--cc=a.p.zijlstra@chello.nl \
--cc=arjan@infradead.org \
--cc=cjashfor@linux.vnet.ibm.com \
--cc=eranian@google.com \
--cc=fweisbec@gmail.com \
--cc=gorcunov@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=paulus@samba.org \
--cc=robert.richter@amd.com \
--cc=tglx@linutronix.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
Powered by JetHome