Lines Matching refs:perf_event
14 static DEFINE_PER_CPU(struct perf_event *, bp_on_reg[LOONGARCH_MAX_BRP]);
17 static DEFINE_PER_CPU(struct perf_event *, wp_on_reg[LOONGARCH_MAX_WRP]);
127 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup()
128 struct perf_event *bp, enum hw_breakpoint_ops ops) in hw_breakpoint_slot_setup()
131 struct perf_event **slot; in hw_breakpoint_slot_setup()
186 static int hw_breakpoint_control(struct perf_event *bp, in hw_breakpoint_control()
192 struct perf_event **slots; in hw_breakpoint_control()
263 int arch_install_hw_breakpoint(struct perf_event *bp) in arch_install_hw_breakpoint()
268 void arch_uninstall_hw_breakpoint(struct perf_event *bp) in arch_uninstall_hw_breakpoint()
359 static int arch_build_bp_info(struct perf_event *bp, in arch_build_bp_info()
408 int hw_breakpoint_arch_parse(struct perf_event *bp, in hw_breakpoint_arch_parse()
432 struct perf_event **slots; in update_bp_registers()
489 struct perf_event *bp, **slots; in breakpoint_handler()
509 struct perf_event *wp, **slots; in watchpoint_handler()
564 void hw_breakpoint_pmu_read(struct perf_event *bp) in hw_breakpoint_pmu_read()