Home
last modified time | relevance | path

Searched defs:pid (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/tools/testing/selftests/powerpc/ptrace/
A Dptrace-perf-hwbreak.c49 static long ptrace_getregs(pid_t pid, struct pt_regs *result) in ptrace_getregs()
54 static long ptrace_setregs(pid_t pid, struct pt_regs *result) in ptrace_setregs()
59 static long ptrace_cont(pid_t pid, long signal) in ptrace_cont()
64 static long ptrace_singlestep(pid_t pid, long signal) in ptrace_singlestep()
79 static long ppc_ptrace_delhwdbg(pid_t pid, int bp_id) in ppc_ptrace_delhwdbg()
84 static long ptrace_getreg_pc(pid_t pid, void **pc) in ptrace_getreg_pc()
98 static long ptrace_setreg_pc(pid_t pid, void *pc) in ptrace_setreg_pc()
175 static int check_watchpoints(pid_t pid) in check_watchpoints()
190 static int ptrace_fork_child(pid_t *pid) in ptrace_fork_child()
231 pid_t pid; /* PID of child process */ in same_watch_addr_test() local
[all …]
/tools/testing/selftests/pid_namespace/
A Dpid_max.c41 pid_t pid; in pid_max_cb() local
138 pid_t pid; in pid_max_nested_inner() local
162 pid_t pid; in pid_max_nested_outer() local
230 pid_t pid; in pid_max_nested_limit_inner() local
288 pid_t pid; in pid_max_nested_limit_outer() local
333 pid_t pid; in TEST() local
343 pid_t pid; in TEST() local
352 pid_t pid; in TEST() local
/tools/include/nolibc/sys/
A Dwait.h25 pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage) in sys_wait4()
35 pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage) in wait4()
41 int sys_waitid(int which, pid_t pid, siginfo_t *infop, int options, struct rusage *rusage) in sys_waitid()
47 int waitid(int which, pid_t pid, siginfo_t *infop, int options) in waitid()
54 pid_t waitpid(pid_t pid, int *status, int options) in waitpid()
/tools/testing/selftests/bpf/progs/
A Dtest_uprobe.c18 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_UPROBE() local
30 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_UPROBE() local
42 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_URETPROBE() local
54 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_UPROBE() local
A Dtest_varlen.c45 int pid = bpf_get_current_pid_tgid() >> 32; in handler64_unsigned() local
75 int pid = bpf_get_current_pid_tgid() >> 32; in handler64_signed() local
101 int pid = bpf_get_current_pid_tgid() >> 32; in handler32_unsigned() local
129 int pid = bpf_get_current_pid_tgid() >> 32; in handler32_signed() local
A Dlocal_storage.c64 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() local
141 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() local
187 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() local
210 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() local
/tools/perf/util/
A Dthread_map.c34 struct perf_thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid()
96 pid_t pid = strtol(dirent->d_name, &end, 10); in thread_map__new_all_cpus() local
151 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid) in thread_map__new()
166 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() local
270 struct perf_thread_map *thread_map__new_str(const char *pid, const char *tid, bool all_threads) in thread_map__new_str()
292 static int get_comm(char **comm, pid_t pid) in get_comm()
318 pid_t pid = perf_thread_map__pid(map, i); in comm_init() local
371 bool thread_map__has(struct perf_thread_map *threads, pid_t pid) in thread_map__has()
A Dbpf_off_cpu.c29 u32 pid; member
75 u32 pid; in off_cpu_start() local
183 int pid = strtol(pos->s, &end_ptr, 10); in off_cpu_prepare() local
253 int pid = strtol(pos->s, &end_ptr, 10); in off_cpu_prepare() local
263 u32 pid; in off_cpu_prepare() local
/tools/testing/selftests/proc/
A Dproc-empty-vm.c173 pid_t pid; in vsyscall() local
216 static int test_proc_pid_maps(pid_t pid) in test_proc_pid_maps()
238 static int test_proc_pid_numa_maps(pid_t pid) in test_proc_pid_numa_maps()
261 static int test_proc_pid_smaps(pid_t pid) in test_proc_pid_smaps()
325 static int test_proc_pid_smaps_rollup(pid_t pid) in test_proc_pid_smaps_rollup()
369 static int test_proc_pid_statm(pid_t pid) in test_proc_pid_statm()
462 pid_t pid = fork(); in main() local
/tools/testing/selftests/cgroup/
A Dtest_freezer.c59 static int cg_enter_and_wait_for_frozen(const char *cgroup, int pid, in cg_enter_and_wait_for_frozen()
403 int pid; in test_cgfreezer_mkdir() local
512 int pid; in test_cgfreezer_migrate() local
588 int pid; in test_cgfreezer_ptrace() local
643 static int proc_check_stopped(int pid) in proc_check_stopped()
667 int pid, ret = KSFT_FAIL; in test_cgfreezer_stopped() local
711 int pid, ret = KSFT_FAIL; in test_cgfreezer_ptraced() local
765 int pid = vfork(); in vfork_fn() local
/tools/perf/scripts/python/
A Dnetdev-times.py232 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
238 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
244 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
250 def irq__irq_handler_entry(name, context, cpu, sec, nsec, pid, comm, argument
260 def napi__napi_poll(name, context, cpu, sec, nsec, pid, comm, callchain, napi, argument
272 def net__netif_rx(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, argument
278 def net__net_dev_queue(name, context, cpu, sec, nsec, pid, comm, callchain, argument
284 def net__net_dev_xmit(name, context, cpu, sec, nsec, pid, comm, callchain, argument
290 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain, argument
296 def skb__consume_skb(name, context, cpu, sec, nsec, pid, comm, callchain, argument
[all …]
A Dsched-migration.py33 def thread_name(pid): argument
210 def wake_up(self, ts_list, pid, cpu, fork): argument
379 common_callchain, comm, pid, delay): argument
384 common_callchain, comm, pid, delay): argument
389 common_callchain, comm, pid, delay): argument
399 common_callchain, comm, pid, prio): argument
404 common_callchain, comm, pid, prio): argument
409 common_callchain, comm, pid, prio): argument
432 common_callchain, comm, pid, prio, success, argument
448 common_callchain, comm, pid, prio): argument
[all …]
/tools/testing/selftests/arm64/fp/
A Dzt-ptrace.c56 static struct user_za_header *get_za(pid_t pid, void **buf, size_t *size) in get_za()
93 static int set_za(pid_t pid, const struct user_za_header *za) in set_za()
102 static int get_zt(pid_t pid, char zt[ZT_SIG_REG_BYTES]) in get_zt()
112 static int set_zt(pid_t pid, const char zt[ZT_SIG_REG_BYTES]) in set_zt()
260 pid_t pid; in do_parent() local
/tools/testing/selftests/powerpc/signal/
A Dsigreturn_kernel.c35 pid_t pid; in fork_child() local
46 static int expect_segv(pid_t pid) in expect_segv()
62 pid_t pid; in test_sigreturn_kernel() local
/tools/testing/selftests/rlimits/
A Drlimits-per-userns.c32 pid_t pid = getpid(); in setrlimit_nproc() local
46 pid_t pid = fork(); in fork_child() local
91 pid_t pid; in main() local
/tools/testing/selftests/pidfd/
A Dpidfd_setns_test.c56 pid_t pid; in FIXTURE() local
356 static int preserve_ns(const int pid, const char *ns) in preserve_ns()
416 pid_t pid; in TEST_F() local
434 pid_t pid; in TEST_F() local
470 pid_t pid; in TEST_F() local
506 pid_t pid; in TEST_F() local
543 pid_t pid; in TEST_F() local
A Dpidfd_wait.c39 pid_t pid; in TEST() local
88 pid_t pid; in TEST() local
149 pid_t pid; in TEST() local
/tools/testing/selftests/bpf/prog_tests/
A Dns_current_pid_tgid.c20 static int get_pid_tgid(pid_t *pid, pid_t *tgid, in get_pid_tgid()
45 pid_t tgid, pid; in test_current_pid_tgid_tp() local
84 pid_t tgid, pid; in test_current_pid_tgid_cgrp() local
129 pid_t tgid, pid; in test_current_pid_tgid_sk_msg() local
/tools/testing/selftests/filesystems/statmount/
A Dstatmount_test_ns.c37 static inline int wait_for_pid(pid_t pid) in wait_for_pid()
133 pid_t pid; in test_statmount_mnt_ns_id() local
154 static int validate_external_listmount(pid_t pid, uint64_t child_nr_mounts) in validate_external_listmount()
211 pid_t pid; in test_listmount_ns() local
/tools/testing/selftests/cgroup/lib/
A Dcgroup_util.c316 int pid = strtol(ptr, &ptr, 10); in cg_killall() local
351 int cg_enter(const char *cgroup, int pid) in cg_enter()
373 int pid, retcode; in cg_run() local
397 pid_t pid; in clone_into_cgroup() local
422 int clone_reap(pid_t pid, int options) in clone_reap()
472 pid_t pid; in clone_into_cgroup_run_nowait() local
490 int pid; in cg_run_nowait() local
525 ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size) in proc_read_text()
540 int proc_read_strstr(int pid, bool thread, const char *item, const char *needle) in proc_read_strstr()
553 pid_t pid; in clone_into_cgroup_run_wait() local
/tools/testing/selftests/ptrace/
A Dget_syscall_info.c17 kill_tracee(pid_t pid) in kill_tracee()
31 sys_ptrace(int request, pid_t pid, unsigned long addr, unsigned long data) in sys_ptrace()
77 pid_t pid = fork(); in TEST() local
/tools/testing/selftests/arm64/mte/
A Dcheck_gcr_el1_cswitch.c30 pid_t pid = *((pid_t *)x); in execute_thread() local
69 int execute_test(pid_t pid) in execute_test()
90 pid_t pid; in mte_gcr_fork_test() local
/tools/testing/selftests/core/
A Dclose_range_test.c110 pid_t pid; in TEST() local
199 pid_t pid; in TEST() local
384 pid_t pid; in TEST() local
501 pid_t pid; in TEST() local
598 pid_t pid; in TEST() local
/tools/testing/selftests/coredump/
A Dstackdump_test.c155 pid_t pid; variable
295 pid_t pid, pid_coredump_server; in TEST_F() local
404 pid_t pid, pid_coredump_server; in TEST_F() local
510 pid_t pid; in TEST_F() local
530 pid_t pid, pid_coredump_server; in TEST_F() local
730 pid_t pid, pid_coredump_server; in TEST_F() local
855 pid_t pid, pid_coredump_server; in TEST_F() local
968 pid_t pid, pid_coredump_server; in TEST_F() local
1081 pid_t pid, pid_coredump_server; in TEST_F() local
1179 pid_t pid, pid_coredump_server; in TEST_F() local
[all …]
/tools/tracing/rtla/src/
A Dactions.c82 actions_add_signal(struct actions *self, int signal, int pid) in actions_add_signal()
137 int signal = 0, pid = 0; in actions_parse() local
223 int pid, retval; in actions_perform() local

Completed in 50 milliseconds

12345678910>>...17