EVENT_ALL
ctx_sched_out(&cpuctx->ctx, NULL, EVENT_ALL|EVENT_CGROUP);
ctx_sched_in(&cpuctx->ctx, NULL, EVENT_ALL|EVENT_CGROUP);
task_ctx_sched_out(ctx, NULL, EVENT_ALL);
if (!(ctx->is_active & EVENT_ALL))
event_type &= EVENT_ALL;
ctx_resched(cpuctx, task_ctx, pmu, EVENT_ALL|EVENT_CPU);
if (ctx->task && !(ctx->is_active & EVENT_ALL)) {
if (!(event_type & EVENT_ALL))
if (!(ctx->is_active & EVENT_ALL)) {
if (!(ctx->is_active & EVENT_ALL))
is_active = EVENT_ALL;
task_ctx_sched_out(ctx, NULL, EVENT_ALL);
if (!(is_active & EVENT_ALL))
is_active = event_type & EVENT_ALL;