Home
last modified time | relevance | path

Searched refs:counter_arch_bp (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/arch/powerpc/kernel/
Dhw_breakpoint.c58 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint()
238 if (unlikely(bp && counter_arch_bp(bp)->perf_single_step)) in thread_change_pc()
246 info = counter_arch_bp(__this_cpu_read(bp_per_reg[i])); in thread_change_pc()
272 counter_arch_bp(bp)->address); in handler_error()
279 counter_arch_bp(bp)->address); in larx_stcx_err()
295 counter_arch_bp(bp[i])->perf_single_step = true; in stepping_handler()
332 info = counter_arch_bp(bp[i]); in handle_p10dd1_spurious_exception()
366 counter_arch_bp(bp[i])->type |= HW_BRK_TYPE_EXTRANEOUS_IRQ; in handle_p10dd1_spurious_exception()
412 info = counter_arch_bp(bp[i]); in hw_breakpoint_handler()
484 if (!(counter_arch_bp(bp[i])->type & HW_BRK_TYPE_EXTRANEOUS_IRQ)) in hw_breakpoint_handler()
[all …]
/linux-6.12.1/arch/xtensa/kernel/
Dhw_breakpoint.c150 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in set_ibreak_regs()
160 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in set_dbreak_regs()
176 if (counter_arch_bp(bp)->type == XTENSA_BREAKPOINT_EXECUTE) { in arch_install_hw_breakpoint()
209 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint()
Dptrace.c369 struct arch_hw_breakpoint *bkpt = counter_arch_bp(bp); in ptrace_hbptriggered()
/linux-6.12.1/arch/arm/kernel/
Dhw_breakpoint.c328 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint()
385 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint()
668 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in enable_single_step()
683 counter_arch_bp(bp)->step_ctrl.enabled = 0; in disable_single_step()
757 info = counter_arch_bp(wp); in watchpoint_handler()
781 info = counter_arch_bp(wp); in watchpoint_handler()
811 info = counter_arch_bp(wp); in watchpoint_handler()
838 info = counter_arch_bp(wp); in watchpoint_single_step_handler()
876 info = counter_arch_bp(bp); in breakpoint_handler()
Dptrace.c354 struct arch_hw_breakpoint *bkpt = counter_arch_bp(bp); in ptrace_hbptriggered()
454 arch_ctrl = counter_arch_bp(bp)->ctrl; in ptrace_gethbpregs()
/linux-6.12.1/include/linux/
Dhw_breakpoint.h96 static inline struct arch_hw_breakpoint *counter_arch_bp(struct perf_event *bp) in counter_arch_bp() function
139 static inline struct arch_hw_breakpoint *counter_arch_bp(struct perf_event *bp) in counter_arch_bp() function
/linux-6.12.1/arch/sh/kernel/
Dhw_breakpoint.c49 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint()
81 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint()
/linux-6.12.1/arch/loongarch/kernel/
Dptrace.c392 struct arch_hw_breakpoint *bkpt = counter_arch_bp(bp); in ptrace_hbptriggered()
551 *ctrl = bp ? encode_ctrl_reg(counter_arch_bp(bp)->ctrl) : 0; in ptrace_hbp_get_ctrl()
565 *mask = bp ? counter_arch_bp(bp)->mask : 0; in ptrace_hbp_get_mask()
579 *addr = bp ? counter_arch_bp(bp)->address : 0; in ptrace_hbp_get_addr()
639 info = counter_arch_bp(bp); in ptrace_hbp_set_mask()
1070 info = counter_arch_bp(bp); in set_single_step()
Dhw_breakpoint.c181 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in hw_breakpoint_control()
440 info = counter_arch_bp(slots[i]); in update_bp_registers()
Dkgdb.c652 val = hw_breakpoint_arch_parse(bp, &bp->attr, counter_arch_bp(bp)); in kgdb_correct_hw_break()
/linux-6.12.1/arch/arm64/kernel/
Dhw_breakpoint.c226 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in hw_breakpoint_control()
604 privilege = counter_arch_bp(slots[i])->ctrl.privilege; in toggle_bp_registers()
654 counter_arch_bp(bp)->trigger = addr; in breakpoint_handler()
738 struct arch_hw_breakpoint *info = counter_arch_bp(wp); in watchpoint_report()
Dptrace.c174 struct arch_hw_breakpoint *bkpt = counter_arch_bp(bp); in ptrace_hbptriggered()
393 *ctrl = bp ? encode_ctrl_reg(counter_arch_bp(bp)->ctrl) : 0; in ptrace_hbp_get_ctrl()
407 *addr = bp ? counter_arch_bp(bp)->address : 0; in ptrace_hbp_get_addr()
/linux-6.12.1/arch/x86/kernel/
Dhw_breakpoint.c98 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint()
146 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint()
Dkgdb.c209 info = counter_arch_bp(bp); in kgdb_correct_hw_break()
Dptrace.c503 info = counter_arch_bp(bp[i]); in ptrace_get_dr7()