Searched refs:bp_id (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-perf-hwbreak.c | 79 static long ppc_ptrace_delhwdbg(pid_t pid, int bp_id) in ppc_ptrace_delhwdbg() argument 81 return sys_ptrace(PPC_PTRACE_DELHWDEBUG, pid, 0L, bp_id); in ppc_ptrace_delhwdbg() 228 int bp_id; /* Breakpoint handle of ptrace watchpoint */ in same_watch_addr_test() local 256 bp_id = ppc_ptrace_sethwdbg(pid, &bp_info); in same_watch_addr_test() 257 FAIL_IF_MSG(bp_id < 0, "Failed to set ptrace watchpoint"); in same_watch_addr_test() 289 FAIL_IF_MSG(ppc_ptrace_delhwdbg(pid, bp_id), "Failed to remove old ptrace watchpoint"); in same_watch_addr_test() 290 bp_id = ppc_ptrace_sethwdbg(pid, &bp_info); in same_watch_addr_test() 291 FAIL_IF_MSG(bp_id < 0, "Failed to set ptrace watchpoint"); in same_watch_addr_test() 332 FAIL_IF_MSG(ppc_ptrace_delhwdbg(pid, bp_id), "Failed to remove old ptrace watchpoint"); in same_watch_addr_test() 333 bp_id = ppc_ptrace_sethwdbg(pid, &bp_info); in same_watch_addr_test() [all …]
|