Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/events/
Dhw_breakpoint.c846 struct perf_event * __percpu *cpu_events, *bp; in register_wide_hw_breakpoint() local
850 cpu_events = alloc_percpu(typeof(*cpu_events)); in register_wide_hw_breakpoint()
851 if (!cpu_events) in register_wide_hw_breakpoint()
863 per_cpu(*cpu_events, cpu) = bp; in register_wide_hw_breakpoint()
868 return cpu_events; in register_wide_hw_breakpoint()
870 unregister_wide_hw_breakpoint(cpu_events); in register_wide_hw_breakpoint()
879 void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) in unregister_wide_hw_breakpoint() argument
884 unregister_hw_breakpoint(per_cpu(*cpu_events, cpu)); in unregister_wide_hw_breakpoint()
886 free_percpu(cpu_events); in unregister_wide_hw_breakpoint()
/linux-6.12.1/include/linux/
Dhw_breakpoint.h86 extern void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events);
130 unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) { } in unregister_wide_hw_breakpoint() argument