Home
last modified time | relevance | path

Searched refs:is_active (Results 1 – 2 of 2) sorted by relevance

/kernel/
Dstop_machine.c211 bool is_active; in multi_cpu_stop() local
221 is_active = cpu == cpumask_first(cpumask); in multi_cpu_stop()
224 is_active = cpumask_test_cpu(cpu, cpumask); in multi_cpu_stop()
240 if (is_active) in multi_cpu_stop()
/kernel/events/
Dcore.c244 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()
[all …]