Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/events/
Dhw_breakpoint.c561 struct perf_event * __percpu *cpu_events, *bp; in register_wide_hw_breakpoint() local
565 cpu_events = alloc_percpu(typeof(*cpu_events)); in register_wide_hw_breakpoint()
566 if (!cpu_events) in register_wide_hw_breakpoint()
578 per_cpu(*cpu_events, cpu) = bp; in register_wide_hw_breakpoint()
583 return cpu_events; in register_wide_hw_breakpoint()
585 unregister_wide_hw_breakpoint(cpu_events); in register_wide_hw_breakpoint()
594 void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) in unregister_wide_hw_breakpoint() argument
599 unregister_hw_breakpoint(per_cpu(*cpu_events, cpu)); in unregister_wide_hw_breakpoint()
601 free_percpu(cpu_events); in unregister_wide_hw_breakpoint()
/Linux-v5.10/include/linux/
Dhw_breakpoint.h76 extern void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events);
123 unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) { } in unregister_wide_hw_breakpoint() argument