| /tools/testing/selftests/cgroup/ |
| A D | test_kill.c | 48 int ppid = getppid(); in child_fn() local 50 while (getppid() == ppid) in child_fn() 53 return getppid() == ppid; in child_fn() 206 int ppid; in forkbomb_fn() local 211 ppid = getppid(); in forkbomb_fn() 213 while (getppid() == ppid) in forkbomb_fn() 216 return getppid() == ppid; in forkbomb_fn()
|
| A D | test_freezer.c | 123 int ppid = getppid(); in child_fn() local 125 while (getppid() == ppid) in child_fn() 128 return getppid() == ppid; in child_fn() 342 int ppid; in forkbomb_fn() local 347 ppid = getppid(); in forkbomb_fn() 349 while (getppid() == ppid) in forkbomb_fn() 352 return getppid() == ppid; in forkbomb_fn()
|
| A D | test_memcontrol.c | 391 int ppid = getppid(); in alloc_pagecache_50M_noexit() local 396 while (getppid() == ppid) in alloc_pagecache_50M_noexit() 404 int ppid = getppid(); in alloc_anon_noexit() local 417 while (getppid() == ppid) in alloc_anon_noexit()
|
| A D | test_core.c | 57 int ppid = getppid(); in alloc_and_touch_anon_noexit() local 71 while (getppid() == ppid) in alloc_and_touch_anon_noexit()
|
| /tools/testing/selftests/powerpc/signal/ |
| A D | signal.c | 40 pid_t ppid = getpid(); in test_signal() local 63 signal_self(ppid, SIGUSR1); in test_signal() 85 rc = signal_self(ppid, SIGUSR1); in test_signal()
|
| /tools/testing/selftests/mm/ |
| A D | memfd_secret.c | 152 pid_t ppid = getppid(); in try_ptrace() local 162 ret = ptrace(PTRACE_ATTACH, ppid, 0, 0); in try_ptrace() 168 ret = waitpid(ppid, &status, WUNTRACED); in try_ptrace() 169 if ((ret != ppid) || !(WIFSTOPPED(status))) { in try_ptrace() 175 if (ptrace(PTRACE_PEEKDATA, ppid, mem, 0)) in try_ptrace()
|
| A D | mrelease_test.c | 22 int ppid = getppid(); in alloc_noexit() local 40 while (getppid() == ppid && timeout > 0) { in alloc_noexit()
|
| /tools/perf/util/ |
| A D | thread.h | 39 pid_t ppid; in DECLARE_RC_STRUCT() local 166 return RC_CHK_ACCESS(thread)->ppid; in thread__ppid() 169 static inline void thread__set_ppid(struct thread *thread, pid_t ppid) in thread__set_ppid() argument 171 RC_CHK_ACCESS(thread)->ppid = ppid; in thread__set_ppid()
|
| A D | synthetic-events.c | 74 pid_t *tgid, pid_t *ppid, bool *kernel) in perf_event__get_comm_ids() argument 83 *ppid = -1; in perf_event__get_comm_ids() 141 *ppid = atoi(ppids); in perf_event__get_comm_ids() 160 *ppid = -1; in perf_event__prepare_comm() 167 tgid, ppid, kernel) != 0) { in perf_event__prepare_comm() 196 pid_t tgid, ppid; in perf_event__synthesize_comm() local 275 event->fork.ppid = ppid; in perf_event__synthesize_fork() 276 event->fork.ptid = ppid; in perf_event__synthesize_fork() 278 event->fork.ppid = tgid; in perf_event__synthesize_fork() 779 pid_t tgid, ppid; in __event__synthesize_thread() local [all …]
|
| A D | data-convert-bt.c | 917 __NON_SAMPLE_SET_FIELD(fork, u32, ppid); 925 __NON_SAMPLE_SET_FIELD(fork, u32, ppid); 1268 __NON_SAMPLE_ADD_FIELD(u32, ppid); 1276 __NON_SAMPLE_ADD_FIELD(u32, ppid);
|
| A D | event.c | 415 event->fork.ppid, event->fork.ptid); in perf_event__fprintf_task() 444 event->fork.ppid, event->fork.ptid); in perf_event__exit_del_thread()
|
| A D | python.c | 107 member_def(perf_record_fork, ppid, T_UINT, "event ppid"), 120 pevent->event.fork.ppid, in pyrf_task_event__repr()
|
| A D | machine.c | 1867 event->fork.ppid, in machine__process_fork_event() 1881 if (thread__pid(parent) != (pid_t)event->fork.ppid) { in machine__process_fork_event() 1886 parent = machine__findnew_thread(machine, event->fork.ppid, in machine__process_fork_event()
|
| A D | session.c | 341 event->fork.ppid = bswap_32(event->fork.ppid); in perf_event__task_swap()
|
| /tools/testing/selftests/resctrl/ |
| A D | resctrl_val.c | 548 pid_t ppid; in resctrl_val() local 559 ppid = getpid(); in resctrl_val() 562 ret = taskset_benchmark(ppid, uparams->cpu, &old_affinity); in resctrl_val() 567 ret = write_bm_pid_to_resctrl(ppid, param->ctrlgrp, param->mongrp); in resctrl_val() 639 taskset_restore(ppid, &old_affinity); in resctrl_val()
|
| /tools/testing/selftests/ptrace/ |
| A D | peeksiginfo.c | 168 pid_t ppid = getppid(); in main() local 170 if (ppid != getppid()) in main()
|
| /tools/testing/selftests/uevent/ |
| A D | uevent_filtering.c | 223 pid_t ppid; in set_death_signal() local 228 ppid = getppid(); in set_death_signal() 229 if (ppid == 1) { in set_death_signal()
|
| /tools/perf/tests/shell/ |
| A D | test_intel_pt.sh | 264 ppid=$! 265 echo "perf PID is $ppid" 266 wait_for_perf_to_start ${ppid} "${errfile}" || return 1 270 is_running ${ppid} || return 1 274 wait_for_process_to_exit ${ppid} || return 1
|
| /tools/perf/ |
| A D | builtin-timechart.c | 96 int ppid; member 255 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork() argument 259 pp = find_create_pid(tchart, ppid); in pid_fork() 260 p->ppid = ppid; in pid_fork() 339 pid_fork(tchart, event->fork.pid, event->fork.ppid, event->fork.time); in process_fork_event() 993 if (cursor->ppid > p->ppid || in sort_pids() 994 (cursor->ppid == p->ppid && cursor->pid > p->pid)) { in sort_pids()
|
| /tools/testing/selftests/pidfd/ |
| A D | pidfd_open_test.c | 169 if (info.ppid != getppid()) { in main()
|
| A D | pidfd.h | 176 __u32 ppid; member
|
| /tools/testing/selftests/bpf/progs/ |
| A D | profiler.inc.h | 182 u32 num_ancestors, ppid; in populate_ancestors() local 192 ppid = BPF_CORE_READ(parent, tgid); in populate_ancestors() 193 if (is_init_process(ppid)) in populate_ancestors() 195 ancestors_data->ancestor_pids[num_ancestors] = ppid; in populate_ancestors()
|
| /tools/lib/perf/include/perf/ |
| A D | event.h | 62 __u32 pid, ppid; member
|
| /tools/perf/bench/ |
| A D | inject-buildid.c | 165 event.fork.ppid = 1; in synthesize_fork()
|
| /tools/perf/Documentation/ |
| A D | perf-report.txt | 618 Display monitored tasks stored in perf data. Displaying pid/tid/ppid
|