On Mon, Dec 21, 2009 at 09:59:45PM +0100, Stephane Eranian wrote: > Ok, so what you are suggesting is that the assignment is actually done > incrementally in ->enable(). hw_group_sched_in() would simply validate > that a single group is sane (i.e., can be scheduled if it was alone).
No, hw_group_sched_in needs to validate that this group can go on along with everything else that has already been enabled. But as I have said, if you have the complete list of enabled events to hand, that's not hard. On the other hand, hw_perf_event_init does need to validate that a single group is sane by itself. Paul. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel