Home
last modified time | relevance | path

Searched refs:ptrace_bps (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/ptrace/
H A Dptrace-noadv.c121 bp = thread->ptrace_bps[0]; in ptrace_set_debugreg()
125 thread->ptrace_bps[0] = NULL; in ptrace_set_debugreg()
142 thread->ptrace_bps[0] = bp; in ptrace_set_debugreg()
154 thread->ptrace_bps[0] = bp = register_user_hw_breakpoint(&attr, in ptrace_set_debugreg()
157 thread->ptrace_bps[0] = NULL; in ptrace_set_debugreg()
175 if (!thread->ptrace_bps[i]) in find_empty_ptrace_bp()
244 thread->ptrace_bps[i] = bp; in ppc_set_hwdebug()
246 thread->ptrace_bps[i] = NULL; in ppc_set_hwdebug()
279 bp = thread->ptrace_bps[data - 1]; in ppc_del_hwdebug()
282 thread->ptrace_bps[data - 1] = NULL; in ppc_del_hwdebug()
/openbmc/linux/arch/sh/kernel/
H A Dprocess_32.c110 memset(p->thread.ptrace_bps, 0, sizeof(p->thread.ptrace_bps)); in copy_thread()
H A Dhw_breakpoint.c268 unregister_hw_breakpoint(t->ptrace_bps[i]); in flush_ptrace_hw_breakpoint()
269 t->ptrace_bps[i] = NULL; in flush_ptrace_hw_breakpoint()
H A Dptrace_32.c81 bp = thread->ptrace_bps[0]; in set_single_step()
94 thread->ptrace_bps[0] = bp; in set_single_step()
/openbmc/linux/arch/x86/kernel/
H A Dptrace.c483 if (thread->ptrace_bps[i] == bp) in ptrace_triggered()
568 old_dr7 = ptrace_get_dr7(thread->ptrace_bps); in ptrace_write_dr7()
575 struct perf_event *bp = thread->ptrace_bps[i]; in ptrace_write_dr7()
588 thread->ptrace_bps[i] = bp; in ptrace_write_dr7()
618 struct perf_event *bp = thread->ptrace_bps[index]; in ptrace_get_debugreg()
634 struct perf_event *bp = t->ptrace_bps[nr]; in ptrace_set_breakpoint_addr()
655 t->ptrace_bps[nr] = bp; in ptrace_set_breakpoint_addr()
H A Dhw_breakpoint.c475 unregister_hw_breakpoint(t->ptrace_bps[i]); in flush_ptrace_hw_breakpoint()
476 t->ptrace_bps[i] = NULL; in flush_ptrace_hw_breakpoint()
H A Dprocess.c179 memset(p->thread.ptrace_bps, 0, sizeof(p->thread.ptrace_bps)); in copy_thread()
/openbmc/linux/arch/sh/include/asm/
H A Dprocessor_32.h100 struct perf_event *ptrace_bps[HBP_NUM]; member
/openbmc/linux/arch/powerpc/kernel/
H A Dhw_breakpoint.c586 unregister_hw_breakpoint(t->ptrace_bps[i]); in flush_ptrace_hw_breakpoint()
587 t->ptrace_bps[i] = NULL; in flush_ptrace_hw_breakpoint()
H A Dprocess.c1852 p->thread.ptrace_bps[i] = NULL; in copy_thread()
/openbmc/linux/arch/powerpc/include/asm/
H A Dprocessor.h174 struct perf_event *ptrace_bps[HBP_NUM_MAX]; member
/openbmc/linux/arch/x86/include/asm/
H A Dprocessor.h443 struct perf_event *ptrace_bps[HBP_NUM]; member