Home | History | Annotate | Download | only in coregrind

Lines Matching refs:pid

85       pid_t pid;
98 r = ptrace64( PT_READ_BLOCK, (ULong)ch->pid, rsrc, len, ldst );
112 r = ptrace64( PT_WRITE_BLOCK, (ULong)child->pid, rdst, len, lsrc );
128 (ULong)child->pid, (ULong)reg, 8, (Int*)(&w64) );
132 (ULong)child->pid, (ULong)reg, 0, 0 );
151 (ULong)child->pid, (ULong)reg, 8, (Int*)&w64 );
156 (ULong)child->pid, (ULong)reg, w32, 0 );
607 /proc/<pid>/maps, doesn't point into the loaded object image. It
610 /proc/<pid>/maps, they are respectively the actual VMAs of the text
711 /proc/<pid>/sysent file. */
721 sprintf(sysent_name, "/proc/%d/sysent", child->pid);
724 return "Can't open child's /proc/<pid>/sysent file";
728 return "Error reading child's /proc/<pid>/sysent file";
1108 lr = ptrace64(PT_LDINFO, (ULong)child->pid,
1112 lr = ptrace64(PT_LDINFO, (ULong)child->pid,
1339 /* First, look in our own /proc/<pid>/sysent file to find
1350 child.pid = 0;
1356 barf(1, argv[0], "Can't open my own /proc/<pid>/sysent file");
1360 barf(1, argv[0], "Error reading my own /proc/<pid>/sysent file");
1577 child.pid = fork();
1578 if (child.pid == -1) {
1583 if (child.pid == 0) {
1630 pid_t p2 = waitpid(child.pid, &status, 0);
1635 VG_(debugLog)(1, "launcher", "parent: waitpid got pid %d\n", (int)p2);
1637 assert(p2 == child.pid); /* Huh?! We only have one child. */
1664 long lr = ptrace64(PT_DETACH, (ULong)child.pid, 0, SIGCONT, 0);
1669 p2 = waitpid(child.pid, &status, 0);
1670 assert(p2 == child.pid);