Re: [BUG(?)] perf_events: combining multiple tracepoint eventsinto a group produces no counts on member events

From: Peter Zijlstra
Date: Wed Dec 01 2010 - 13:37:44 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/