Home
last modified time | relevance | path

Searched refs:ppid (Results 1 – 25 of 25) sorted by relevance

/tools/testing/selftests/powerpc/signal/
Dsignal.c40 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/resctrl/
Dresctrl.h35 kill(ppid, SIGKILL); \
71 extern pid_t bm_pid, ppid;
Dresctrl_val.c467 pid_t bm_pid, ppid; variable
620 ppid = getpid(); in resctrl_val()
/tools/testing/selftests/cgroup/
Dtest_freezer.c180 int ppid = getppid(); in child_fn() local
182 while (getppid() == ppid) in child_fn()
185 return getppid() == ppid; in child_fn()
399 int ppid; in forkbomb_fn() local
404 ppid = getppid(); in forkbomb_fn()
406 while (getppid() == ppid) in forkbomb_fn()
409 return getppid() == ppid; in forkbomb_fn()
Dtest_memcontrol.c199 int ppid = getppid(); in alloc_pagecache_50M_noexit() local
204 while (getppid() == ppid) in alloc_pagecache_50M_noexit()
212 int ppid = getppid(); in alloc_anon_noexit() local
217 while (getppid() == ppid) in alloc_anon_noexit()
Dtest_core.c50 int ppid = getppid(); in alloc_and_touch_anon_noexit() local
64 while (getppid() == ppid) in alloc_and_touch_anon_noexit()
/tools/testing/selftests/ptrace/
Dpeeksiginfo.c168 pid_t ppid = getppid(); in main() local
170 if (ppid != getppid()) in main()
/tools/testing/selftests/uevent/
Duevent_filtering.c221 pid_t ppid; in set_death_signal() local
226 ppid = getppid(); in set_death_signal()
227 if (ppid == 1) { in set_death_signal()
/tools/perf/util/
Dsynthetic-events.c73 pid_t *tgid, pid_t *ppid) in perf_event__get_comm_ids() argument
82 *ppid = -1; in perf_event__get_comm_ids()
131 *ppid = atoi(ppids); in perf_event__get_comm_ids()
141 pid_t *tgid, pid_t *ppid) in perf_event__prepare_comm() argument
145 *ppid = -1; in perf_event__prepare_comm()
152 tgid, ppid) != 0) { in perf_event__prepare_comm()
181 pid_t tgid, ppid; in perf_event__synthesize_comm() local
183 if (perf_event__prepare_comm(event, pid, machine, &tgid, &ppid) != 0) in perf_event__synthesize_comm()
246 pid_t pid, pid_t tgid, pid_t ppid, in perf_event__synthesize_fork() argument
258 event->fork.ppid = ppid; in perf_event__synthesize_fork()
[all …]
Dthread.h40 pid_t ppid; member
Dthread.c48 thread->ppid = -1; in thread__new()
403 thread->ppid = parent->tid; in thread__fork()
Ddata-convert-bt.c910 __NON_SAMPLE_SET_FIELD(fork, u32, ppid);
918 __NON_SAMPLE_SET_FIELD(fork, u32, ppid);
1260 __NON_SAMPLE_ADD_FIELD(u32, ppid);
1268 __NON_SAMPLE_ADD_FIELD(u32, ppid);
Dpython.c194 member_def(perf_record_fork, ppid, T_UINT, "event ppid"),
207 pevent->event.fork.ppid, in pyrf_task_event__repr()
Devent.c356 event->fork.ppid, event->fork.ptid); in perf_event__fprintf_task()
Dbuild-id.c78 event->fork.ppid, event->fork.ptid); in perf_event__exit_del_thread()
Dmachine.c1871 event->fork.ppid, in machine__process_fork_event()
1885 if (parent->pid_ != (pid_t)event->fork.ppid) { in machine__process_fork_event()
1890 parent = machine__findnew_thread(machine, event->fork.ppid, in machine__process_fork_event()
Dsession.c611 event->fork.ppid = bswap_32(event->fork.ppid); in perf_event__task_swap()
/tools/perf/
Dbuiltin-timechart.c93 int ppid; member
242 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork() argument
246 pp = find_create_pid(tchart, ppid); in pid_fork()
247 p->ppid = ppid; in pid_fork()
329 pid_fork(tchart, event->fork.pid, event->fork.ppid, event->fork.time); in process_fork_event()
984 if (cursor->ppid > p->ppid || in sort_pids()
985 (cursor->ppid == p->ppid && cursor->pid > p->pid)) { in sort_pids()
Dbuiltin-report.c774 if (thread->ppid == -1) in tasks_list()
777 parent_thread = machine__find_thread(machine, -1, thread->ppid); in tasks_list()
810 thread->pid_, thread->tid, thread->ppid, in task__print_level()
Dbuiltin-sched.c886 parent = machine__findnew_thread(machine, event->fork.ppid, in replay_fork_event()
2682 comm_width, timehist_get_commstr(t), t->ppid, in print_thread_runtime()
2702 comm_width, timehist_get_commstr(t), t->ppid, in print_thread_waittime()
Dbuiltin-trace.c3662 struct thread *parent = machine__find_thread(trace->host, thread->ppid, thread->ppid);
/tools/testing/selftests/bpf/progs/
Dprofiler.inc.h184 u32 num_ancestors, ppid; in populate_ancestors() local
194 ppid = BPF_CORE_READ(parent, tgid); in populate_ancestors()
195 if (is_init_process(ppid)) in populate_ancestors()
197 ancestors_data->ancestor_pids[num_ancestors] = ppid; in populate_ancestors()
/tools/lib/perf/include/perf/
Devent.h52 __u32 pid, ppid; member
/tools/perf/bench/
Dinject-buildid.c164 event.fork.ppid = 1; in synthesize_fork()
/tools/perf/Documentation/
Dperf-report.txt535 Display monitored tasks stored in perf data. Displaying pid/tid/ppid