Searched refs:proc_getpid (Results 1 – 8 of 8) sorted by relevance
/freebsd/lib/libproc/ |
H A D | proc_util.c | 72 if (ptrace(PT_CONTINUE, proc_getpid(phdl), (caddr_t)(uintptr_t)1, in proc_continue() 95 pid = proc_getpid(phdl); in proc_detach() 156 if (waitpid(proc_getpid(phdl), &status, WUNTRACED) < 0) { in proc_wstatus() 201 if (ptrace(PT_IO, proc_getpid(phdl), (caddr_t)&piod, 0) < 0) in proc_read() 215 if (ptrace(PT_LWPINFO, proc_getpid(phdl), (caddr_t)&lwpinfo, in proc_getlwpstatus()
|
H A D | libproc.h | 128 #define proc_getpid(phdl) (((struct proc_handle_public *)(phdl))->pid) macro
|
H A D | proc_create.c | 145 if (ptrace(PT_ATTACH, proc_getpid(phdl), 0, 0) != 0) { in proc_attach()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 94 pid_t pid = proc_getpid(P); in dt_pid_has_jump_table() 146 pid_t pid = proc_getpid(P); in dt_pid_create_return_probe() 303 pid_t pid = proc_getpid(P); in dt_pid_create_offset_probe() 382 pid_t pid = proc_getpid(P); in dt_pid_create_glob_offset_probes()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_proc.c | 558 pid_t pid = proc_getpid(P); in dt_proc_lookup() 712 int pid = proc_getpid(dpr->dpr_proc); in dt_proc_create_thread() 763 dpr->dpr_pid = proc_getpid(dpr->dpr_proc); in dt_proc_create() 995 idp->di_id = proc_getpid(P); /* $target = created pid */ in dtrace_proc_create()
|
H A D | dt_pid.c | 137 pid = proc_getpid(pp->dpp_pr); in dt_pid_per_sym() 610 dh.dofhp_pid = proc_getpid(P); in dt_pid_usdt_mapping() 660 (int)proc_getpid(P), strerror(errno)); in dt_pid_create_usdt_probes()
|
/freebsd/cddl/contrib/opensolaris/cmd/plockstat/ |
H A D | plockstat.c | 675 int pid = proc_getpid(P); in prochandler() 994 (int)proc_getpid(g_pr)); in main()
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/ |
H A D | dtrace.c | 849 int pid = proc_getpid(P);
|