lkml.org 
[lkml]   [2010]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [DRAFT PATCH 2/3] perf: Implement Nehalem uncore pmu
From
Date
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




\
 
 \ /
  Last update: 2010-11-05 02:33    [W:0.047 / U:0.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site