On Fri, 2010-11-19 at 11:30 +0000, Deng-Cheng Zhu wrote: > Ah, I see. Thanks for your explanation. > > But by doing this, I think we need to modify validate_group() as well. > Consider a group which has all its events either not for this PMU or in > OFF/Error state. Then the last validate_event() in validate_group() does > not work. Right? So, how about the following: [...] If none of the events are for this PMU, then our validate_group() won't be called. If all the events are OFF/ERROR then I don't see what's wrong with passing the validation. Will