lkml.org 
[lkml]   [2010]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC PATCH 2/3 v2] perf: Implement Nehalem uncore pmu
    From
    Date
    On Fri, 2010-11-26 at 09:18 +0100, Stephane Eranian wrote:

    > In the perf_event model, given that any one of the 4 cores can be used
    > to program uncore events, you have no choice but to broadcast to all
    > 4 cores. Each has to demultiplex and figure out which of its counters
    > have overflowed.

    Not really, you can redirect all these events to the first online cpu of
    the node.

    You can re-write event->cpu in pmu::event_init(), and register cpu
    hotplug notifiers to migrate the state around.




    \
     
     \ /
      Last update: 2010-11-26 12:27    [from the cache]
    ©2003-2011 Jasper Spaans