Home
last modified time | relevance | path

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

/linux-5.19.10/arch/ia64/kernel/
Dsalinfo.c142 cpumask_t cpu_event; /* which cpus have outstanding events */ member
243 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 …]
/linux-5.19.10/kernel/events/
Dcore.c2671 bool cpu_event = !!(event_type & EVENT_CPU); in ctx_resched() local
2693 if (cpu_event) in ctx_resched()
4127 struct perf_event *cpu_event = NULL, *task_event = NULL; in perf_rotate_context() local
4149 cpu_event = ctx_event_to_rotate(&cpuctx->ctx); in perf_rotate_context()
4155 if (task_event || (task_ctx && cpu_event)) in perf_rotate_context()
4157 if (cpu_event) in perf_rotate_context()
4162 if (cpu_event) in perf_rotate_context()
4163 rotate_ctx(&cpuctx->ctx, cpu_event); in perf_rotate_context()