EVENT_FLEXIBLE
event_type = event->attr.pinned ? EVENT_PINNED : EVENT_FLEXIBLE;
EVENT_ALL = EVENT_FLEXIBLE | EVENT_PINNED,
ctx_sched_in(&cpuctx->ctx, pmu, EVENT_FLEXIBLE | event_type);
ctx_sched_in(ctx, pmu, EVENT_FLEXIBLE | event_type);
event_type |= EVENT_FLEXIBLE;
ctx_sched_out(&cpuctx->ctx, pmu, EVENT_FLEXIBLE);
if (event_type & EVENT_FLEXIBLE) {
if (event_type & EVENT_FLEXIBLE)
if (is_active & EVENT_FLEXIBLE) {
__pmu_ctx_sched_in(pmu_ctx, EVENT_FLEXIBLE | (event_type & EVENT_GUEST));
ctx_sched_out(&cpuctx->ctx, NULL, EVENT_FLEXIBLE);
__pmu_ctx_sched_out(task_epc, EVENT_FLEXIBLE);
__pmu_ctx_sched_out(cpu_epc, EVENT_FLEXIBLE);
__pmu_ctx_sched_in(cpu_epc, EVENT_FLEXIBLE);
__pmu_ctx_sched_in(task_epc, EVENT_FLEXIBLE);