Searched refs:cpu_event (Results 1 – 2 of 2) sorted by relevance
142 cpumask_t cpu_event; /* which cpus have outstanding events */ member243 cpumask_set_cpu(smp_processor_id(), &data->cpu_event); in salinfo_log_wakeup()260 if (!cpumask_empty(&data->cpu_event)) in salinfo_timeout_check()291 if (cpumask_empty(&data->cpu_event)) { in salinfo_event_read()295 !cpumask_empty(&data->cpu_event))) in salinfo_event_read()301 if (cpumask_test_cpu(n, &data->cpu_event)) { in salinfo_event_read()303 cpumask_clear_cpu(n, &data->cpu_event); in salinfo_event_read()427 cpumask_clear_cpu(cpu, &data->cpu_event); in salinfo_log_new_read()469 if (!cpumask_test_cpu(cpu, &data->cpu_event)) { in salinfo_log_clear()473 cpumask_clear_cpu(cpu, &data->cpu_event); in salinfo_log_clear()[all …]
2707 bool cpu_event = !!(event_type & EVENT_CPU); in ctx_resched() local2729 if (cpu_event) in ctx_resched()4176 struct perf_event *cpu_event = NULL, *task_event = NULL; in perf_rotate_context() local4198 cpu_event = ctx_event_to_rotate(&cpuctx->ctx); in perf_rotate_context()4204 if (task_event || (task_ctx && cpu_event)) in perf_rotate_context()4206 if (cpu_event) in perf_rotate_context()4211 if (cpu_event) in perf_rotate_context()4212 rotate_ctx(&cpuctx->ctx, cpu_event); in perf_rotate_context()