Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/events/
Dhw_breakpoint.c874 struct perf_event * __percpu *cpu_events, *bp; in register_wide_hw_breakpoint() local
878 cpu_events = alloc_percpu(typeof(*cpu_events)); in register_wide_hw_breakpoint()
879 if (!cpu_events) in register_wide_hw_breakpoint()
891 per_cpu(*cpu_events, cpu) = bp; in register_wide_hw_breakpoint()
896 return cpu_events; in register_wide_hw_breakpoint()
898 unregister_wide_hw_breakpoint(cpu_events); in register_wide_hw_breakpoint()
907 void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) in unregister_wide_hw_breakpoint() argument
912 unregister_hw_breakpoint(per_cpu(*cpu_events, cpu)); in unregister_wide_hw_breakpoint()
914 free_percpu(cpu_events); in unregister_wide_hw_breakpoint()
/linux-6.1.9/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