>> struct list_head sb_list; >> + >> + /* Per-event flags to generic code set by PMU. */ >> + int pmu_event_flags; >> + > > It appears to me we already have group_flags and attach_state which both > are serialized by ctx->lock. > > Could we maybe merge the lot into one flags field?
Sounds good, I will do that.

