lkml.org 
[lkml]   [2010]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [BUG(?)] perf_events: combining multiple tracepoint events into a group produces no counts on member events
    From
    Date
    On Wed, 2010-12-01 at 19:29 +0100, Frederic Weisbecker wrote:
    > > +static int perf_event_add_tp(struct perf_event *event, int tp_id)
    > > +{
    > > + if (event->attr.type != PERF_TYPE_TRACEPOINT &&
    >
    > Should it be || instead?
    >
    > > + event->attr.config != ~0ULL)
    > > + return -EINVAL;
    > > +
    > > + return __perf_event_add_tp(event, tp_id);
    > > +}

    Probably,.. yeah.


    \
     
     \ /
      Last update: 2010-12-01 19:39    [W:0.024 / U:30.484 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site