• Home
  • Raw
  • Download

Lines Matching refs:is_active

244 		WARN_ON_ONCE(!ctx->is_active);  in event_function()
302 if (ctx->is_active) { in event_function_call()
342 if (ctx->is_active) { in event_function_local()
1523 if (!(__load_acquire(&ctx->is_active) & EVENT_TIME)) in perf_event_time_now()
2388 if (ctx->is_active & EVENT_TIME) { in __perf_remove_from_context()
2408 if (!ctx->nr_events && ctx->is_active) { in __perf_remove_from_context()
2412 ctx->is_active = 0; in __perf_remove_from_context()
2447 if (!ctx->is_active && !is_cgroup_event(event)) { in perf_remove_from_context()
2469 if (ctx->is_active & EVENT_TIME) { in __perf_event_disable()
2979 if (ctx->is_active) in __perf_event_enable()
2985 if (!ctx->is_active) in __perf_event_enable()
3272 int is_active = ctx->is_active; in ctx_sched_out() local
3280 WARN_ON_ONCE(ctx->is_active); in ctx_sched_out()
3296 if (is_active & EVENT_TIME) { in ctx_sched_out()
3307 ctx->is_active &= ~event_type; in ctx_sched_out()
3308 if (!(ctx->is_active & EVENT_ALL)) in ctx_sched_out()
3309 ctx->is_active = 0; in ctx_sched_out()
3313 if (!ctx->is_active) in ctx_sched_out()
3317 is_active ^= ctx->is_active; /* changed bits */ in ctx_sched_out()
3319 if (!ctx->nr_active || !(is_active & EVENT_ALL)) in ctx_sched_out()
3323 if (is_active & EVENT_PINNED) { in ctx_sched_out()
3328 if (is_active & EVENT_FLEXIBLE) { in ctx_sched_out()
3858 int is_active = ctx->is_active; in ctx_sched_in() local
3865 if (!(is_active & EVENT_TIME)) { in ctx_sched_in()
3876 ctx->is_active |= (event_type | EVENT_TIME); in ctx_sched_in()
3878 if (!is_active) in ctx_sched_in()
3884 is_active ^= ctx->is_active; /* changed bits */ in ctx_sched_in()
3890 if (is_active & EVENT_PINNED) in ctx_sched_in()
3894 if (is_active & EVENT_FLEXIBLE) in ctx_sched_in()
4424 if (ctx->is_active & EVENT_TIME) { in __perf_event_read()
4616 if (ctx->is_active & EVENT_TIME) { in perf_event_read()