lkml.org 
[lkml]   [2017]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: perf group read for inherited events
    On Tue, May 30, 2017 at 06:57:14AM -0700, Andi Kleen wrote:
    > On Tue, May 30, 2017 at 11:45:12AM +0200, Peter Zijlstra wrote:
    > > > Or is the simple patch below good enough?
    > >
    > > The below seems to be the correct thing. It is rather unfortunate that
    > > this would break/significantly change existing semantics :/
    >
    > The "existing semantics" as in ignoring the PERF_SAMPLE_READ in sample_type,
    > even though it wasn't implemented? It seems reasonable to me.

    Right, so where we used to accept PERF_SAMPLE_READ on inherited events,
    we now no longer will.

    Note that it currently doesn't work right, even if it doesn't fail like
    with the proposed patch.

    Typically Vince will (rightly) complain when I change things like this.
    But seeing how even if we accept it, it is fairly terminally buggered in
    any case, we could change it.

    Vince, do you know of anybody that would be immediately affected by
    this?

    \
     
     \ /
      Last update: 2017-05-30 19:02    [W:3.479 / U:0.524 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site