Re: [PATCH V2 1/6] perf,core: allow invalid context events to be part of sw/hw groups

From: Peter Zijlstra
Date: Wed Apr 15 2015 - 13:29:13 EST


On Wed, Apr 15, 2015 at 03:56:11AM -0400, Kan Liang wrote:
> The event count only be read when the event is already
> sched_in.

Yeah, so no. This breaks what groups are. Group events _must_ be
co-scheduled. You cannot guarantee you can schedule events from another
PMU.

Also, I cannot see how this can possibly work, you cannot put these
things on the same event_context.

Also, how does this work wrt cpumasks, regular events are per cpu,
uncore events are per node.

There is so much broken stuff here without explanation its not funny.

Please explain how this does not completely wreck everything?
--
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/