Lines Matching refs:perf_event
33 static DEFINE_PER_CPU(struct perf_event *, bp_per_reg[HBP_NUM_MAX]);
65 int arch_install_hw_breakpoint(struct perf_event *bp) in arch_install_hw_breakpoint()
68 struct perf_event **slot; in arch_install_hw_breakpoint()
101 void arch_uninstall_hw_breakpoint(struct perf_event *bp) in arch_uninstall_hw_breakpoint()
104 struct perf_event **slot; in arch_uninstall_hw_breakpoint()
121 static bool is_ptrace_bp(struct perf_event *bp) in is_ptrace_bp()
128 struct perf_event *bp;
135 static struct breakpoint *alloc_breakpoint(struct perf_event *bp) in alloc_breakpoint()
147 static bool bp_addr_range_overlap(struct perf_event *bp1, struct perf_event *bp2) in bp_addr_range_overlap()
159 static bool alternate_infra_bp(struct breakpoint *b, struct perf_event *bp) in alternate_infra_bp()
164 static bool can_co_exist(struct breakpoint *b, struct perf_event *bp) in can_co_exist()
169 static int task_bps_add(struct perf_event *bp) in task_bps_add()
181 static void task_bps_remove(struct perf_event *bp) in task_bps_remove()
200 static bool all_task_bps_check(struct perf_event *bp) in all_task_bps_check()
215 static bool same_task_bps_check(struct perf_event *bp) in same_task_bps_check()
227 static int cpu_bps_add(struct perf_event *bp) in cpu_bps_add()
247 static void cpu_bps_remove(struct perf_event *bp) in cpu_bps_remove()
265 static bool cpu_bps_check(int cpu, struct perf_event *bp) in cpu_bps_check()
278 static bool all_cpu_bps_check(struct perf_event *bp) in all_cpu_bps_check()
293 int arch_reserve_bp_slot(struct perf_event *bp) in arch_reserve_bp_slot()
337 void arch_release_bp_slot(struct perf_event *bp) in arch_release_bp_slot()
351 void arch_unregister_hw_breakpoint(struct perf_event *bp) in arch_unregister_hw_breakpoint()
439 int hw_breakpoint_arch_parse(struct perf_event *bp, in hw_breakpoint_arch_parse()
510 static void handler_error(struct perf_event *bp, struct arch_hw_breakpoint *info) in handler_error()
517 static void larx_stcx_err(struct perf_event *bp, struct arch_hw_breakpoint *info) in larx_stcx_err()
524 static bool stepping_handler(struct pt_regs *regs, struct perf_event **bp, in stepping_handler()
612 struct perf_event *bp[HBP_NUM_MAX] = { NULL }; in hw_breakpoint_handler()
738 struct perf_event *bp = NULL; in single_step_dabr_instruction()
824 void hw_breakpoint_pmu_read(struct perf_event *bp) in hw_breakpoint_pmu_read()
829 void ptrace_triggered(struct perf_event *bp, in ptrace_triggered()