lkml.org 
[lkml]   [2010]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Q: perf_event && event->owner
    From
    Date
    On Mon, 2010-11-08 at 21:11 +0100, Frederic Weisbecker wrote:
    > Perhaps the real owner should be the task on which we attach our
    > breakpoint.

    No the point of event->owner is to point to the task that creates the
    event, not the task we possibly attach it to (that should be reachable
    through event->ctx->task).

    As to removing event->owner as Oleg suggests, its a published ABI and
    there might be people using it.

    The use-case is a monitor thread wanting to stop all monitoring it
    initiated, for example because its wants to synchronize various counters
    attached to different tasks etc..




    \
     
     \ /
      Last update: 2010-11-08 21:45    [W:0.021 / U:0.712 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site