代码搜索结果

找到约 12,494 项符合 PID 的代码

fork.s

! ! "@(#)fork.s 1.1 92/07/30" ! Copyright (c) 1986 by Sun Microsystems, Inc. ! .seg "text" #include "SYS.h" /* * pid = fork(); * * r1 == 0 in parent process, r1 == 1 in child process. * r

waitpid.c

#include #include #include #include #include __pid_t __libc_waitpid(__pid_t pid, int *wait_stat, int options) { return wait4(p

forkexec.c

forkexec(struct cmd *ptr) { int i,pid; /* 1 */ if (pid = fork()) { /* 2 */ if (backgnd==TRUE) printf("%d\n", pid); lastpid = pid;

libc.d

pid$target:libc.so::entry { @[probefunc] = count(); }

errorpath.d

pid$1::$2:entry { self->spec = speculation(); speculate(self->spec); printf("%x %x %x %x %x", arg0, arg1, arg2, arg3, arg4); } pid$1::$2: /self->spec/ { speculate(self->spec); } pid$1::$2:return

userfunc.d

pid$1::$2:entry { self->trace = 1; } pid$1::$2:return /self->trace/ { self->trace = 0; } pid$1:::entry, pid$1:::return /self->trace/ { }

rwtime.d

syscall::read:entry, syscall::write:entry /pid == $1/ { ts[probefunc] = timestamp; } syscall::read:return, syscall::write:return /pid == $1 && ts[probefunc] != 0/ { printf("%d nsecs", timestamp - t

trussrw.d

syscall::read:entry, syscall::write:entry /pid == $1/ { printf("%s(%d, 0x%x, %4d)", probefunc, arg0, arg1, arg2); } syscall::read:return, syscall::write:return /pid == $1/ { printf("\t\t = %d\n", a