HomeSort by relevance Sort by last modified time
    Searched refs:ppid (Results 1 - 25 of 134) sorted by null

1 2 3 4 5 6

  /external/strace/tests/
getxxid.c 40 pid_t ppid; local
43 ppid = getppid();
44 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid);
45 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid);
fork-f.c 83 pid_t ppid = getpid(); local
91 ppid, prefix,
92 ppid, prefix,
95 ppid, prefix);
vfork-f.c 95 pid_t ppid = getpid(); local
103 ppid, prefix,
105 ppid, prefix,
107 ppid, prefix);
  /external/strace/tests-m32/
getxxid.c 40 pid_t ppid; local
43 ppid = getppid();
44 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid);
45 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid);
fork-f.c 83 pid_t ppid = getpid(); local
91 ppid, prefix,
92 ppid, prefix,
95 ppid, prefix);
vfork-f.c 95 pid_t ppid = getpid(); local
103 ppid, prefix,
105 ppid, prefix,
107 ppid, prefix);
  /external/strace/tests-mx32/
getxxid.c 40 pid_t ppid; local
43 ppid = getppid();
44 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid);
45 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid);
fork-f.c 83 pid_t ppid = getpid(); local
91 ppid, prefix,
92 ppid, prefix,
95 ppid, prefix);
vfork-f.c 95 pid_t ppid = getpid(); local
103 ppid, prefix,
105 ppid, prefix,
107 ppid, prefix);
  /external/ltp/testcases/kernel/syscalls/getppid/
getppid02.c 60 pid_t pid, ppid; local
69 ppid = getpid();
77 if (TEST_RETURN != ppid)
79 TEST_RETURN, ppid);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
1-1.c 35 int ret, ppid; local
56 ppid = getpid();
58 if (pid != ppid) {
59 printf("Test FAILED: Pids are different %i != %i\n", pid, ppid);
  /external/perfetto/test/trace_processor/
kernel_lmk.py 23 trace.add_process(pid=1, ppid=0, cmdline="init")
24 trace.add_process(pid=2, ppid=1, cmdline="two_thread_process")
25 trace.add_process(pid=4, ppid=1, cmdline="single_thread_process")
27 trace.add_process(pid=1000, ppid=1, cmdline="padding_process")
counters_order_ref.py 23 trace.add_process(pid=1, ppid=0, cmdline="init")
24 trace.add_process(pid=2, ppid=1, cmdline="two_thread_process")
25 trace.add_process(pid=4, ppid=1, cmdline="single_thread_process")
syscall.py 25 trace.add_process(pid=1, ppid=0, cmdline="init")
26 trace.add_process(pid=2, ppid=1, cmdline="two_thread_process")
27 trace.add_process(pid=4, ppid=1, cmdline="single_thread_process")
  /external/ltp/testcases/kernel/controllers/cgroup_fj/
cgroup_fj_stress.sh 100 local ppid="$3"
107 if [ -z "$ppid" ]; then
111 pid="$ppid"
120 attach_task "$new_path" $((cur_depth+1)) "$ppid"
123 if [ -n "$ppid" ]; then
  /external/ltp/testcases/kernel/containers/pidns/
pidns01.c 72 pid_t cpid, ppid; local
74 ppid = getppid();
77 if (cpid == CHILD_PID && ppid == PARENT_PID) {
78 printf("Got expected cpid and ppid\n");
81 printf("Got unexpected result of cpid=%d ppid=%d\n",
82 cpid, ppid);
pidns04.c 77 pid_t cpid, ppid; local
79 ppid = getppid();
85 if ((cpid == CHILD_PID) && (ppid == PARENT_PID)) {
95 printf("got unexpected result of cpid=%d ppid=%d\n",
96 cpid, ppid);
pidns06.c 62 int cpid, ppid, *par_pid; local
65 ppid = getppid();
69 if (cpid != CINIT_PID || ppid != PARENT_PID) {
71 "pid=%d ppid=%d\n", cpid, ppid);
pidns10.c 61 pid_t pid, ppid; local
65 ppid = getppid();
66 if (pid != CHILD_PID || ppid != PARENT_PID) {
pidns12.c 75 pid_t pid, ppid; local
79 ppid = getppid();
80 if (pid != CHILD_PID || ppid != PARENT_PID) {
pidns16.c 93 pid_t pid, ppid; local
97 ppid = getppid();
99 if ((pid != CHILD_PID) || (ppid != PARENT_PID))
  /external/libcap-ng/libcap-ng-0.7/utils/
pscap.c 67 int pid, ppid, uid = -1, euid = -1; local
101 sscanf(buf, "%d (%15c", &ppid, cmd);
102 sscanf(tmp+2, "%c %d", &state, &ppid);
105 if (pid == 2 || ppid == 2)
149 "ppid", "pid", "name", "command",
166 printf("%-5d %-5d %-10s %-16s ", ppid, pid,
169 printf("%-5d %-5d %-10d %-16s ", ppid, pid,
  /external/linux-kselftest/tools/testing/selftests/powerpc/signal/
signal.c 44 pid_t ppid = getpid(); local
67 signal_self(ppid, SIGUSR1);
89 rc = signal_self(ppid, SIGUSR1);
  /external/bcc/tools/
execsnoop.py 76 u32 ppid; // Parent PID as in the userspace term (i.e task->real_parent->tgid in kernel)
117 data.ppid = task->real_parent->tgid;
149 data.ppid = task->real_parent->tgid;
174 print("%-16s %-6s %-6s %3s %s" % ("PCOMM", "PID", "PPID", "RET", "ARGS"))
182 ("ppid", ct.c_uint),
196 # This is best-effort PPID matching. Short-lived processes may exit
197 # before we get a chance to read the PPID.
198 # This is a fallback for when fetching the PPID from task->real_parent->tgip
204 if line.startswith("PPid:"):
235 ppid = event.ppid if event.ppid > 0 else get_ppid(event.pid
    [all...]
  /external/autotest/client/site_tests/login_LogoutProcessCleanup/
login_LogoutProcessCleanup.py 101 ppid = pid
102 while not (ppid == ancestor_pid or ppid == '0'):
107 ppid = self.__get_parent_pid(ppid)
110 return ppid == ancestor_pid

Completed in 1313 milliseconds

1 2 3 4 5 6