/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-perf-hwbreak.c | 39 static inline long sys_ptrace(long request, pid_t pid, unsigned long addr, unsigned long data) in sys_ptrace() 49 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() 69 static long ppc_ptrace_gethwdbginfo(pid_t pid, struct ppc_debug_info *dbginfo) in ppc_ptrace_gethwdbginfo() 74 static long ppc_ptrace_sethwdbg(pid_t pid, struct ppc_hw_breakpoint *bp_info) in ppc_ptrace_sethwdbg() 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() [all …]
|
/tools/testing/selftests/proc/ |
D | proc-empty-vm.c | 138 pid_t pid; in vsyscall() local 181 static int test_proc_pid_maps(pid_t pid) in test_proc_pid_maps() 203 static int test_proc_pid_numa_maps(pid_t pid) in test_proc_pid_numa_maps() 226 static int test_proc_pid_smaps(pid_t pid) in test_proc_pid_smaps() 282 static int test_proc_pid_smaps_rollup(pid_t pid) in test_proc_pid_smaps_rollup() 331 pid_t pid = fork(); in main() local
|
D | thread-self.c | 30 pid_t pid, tid; in f() local 50 pid_t pid; in main() local
|
/tools/perf/util/ |
D | thread_map.c | 34 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 171 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new() 189 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() local 293 struct perf_thread_map *thread_map__new_str(const char *pid, const char *tid, in thread_map__new_str() 319 static int get_comm(char **comm, pid_t pid) in get_comm() 345 pid_t pid = perf_thread_map__pid(map, i); in comm_init() local 398 bool thread_map__has(struct perf_thread_map *threads, pid_t pid) in thread_map__has()
|
D | bpf_off_cpu.c | 27 u32 pid; member 79 u32 pid; in off_cpu_start() local 161 int pid = strtol(pos->s, &end_ptr, 10); in off_cpu_prepare() local 228 int pid = strtol(pos->s, &end_ptr, 10); in off_cpu_prepare() local 238 u32 pid; in off_cpu_prepare() local
|
/tools/testing/selftests/cgroup/ |
D | test_freezer.c | 59 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
|
D | cgroup_util.c | 272 int pid = strtol(ptr, &ptr, 10); in cg_killall() local 307 int cg_enter(const char *cgroup, int pid) in cg_enter() 329 int pid, retcode; in cg_run() local 353 pid_t pid; in clone_into_cgroup() local 378 int clone_reap(pid_t pid, int options) in clone_reap() 428 pid_t pid; in clone_into_cgroup_run_nowait() local 446 int pid; in cg_run_nowait() local 526 int set_oom_adj_score(int pid, int score) in set_oom_adj_score() 559 ssize_t proc_read_text(int pid, bool thread, const char *item, char *buf, size_t size) in proc_read_text() 574 int proc_read_strstr(int pid, bool thread, const char *item, const char *needle) in proc_read_strstr() [all …]
|
/tools/perf/scripts/python/ |
D | netdev-times.py | 232 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 256 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, callchain, irq, ret): argument 260 def napi__napi_poll(name, context, cpu, sec, nsec, pid, comm, callchain, napi, argument 266 def net__netif_receive_skb(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, 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 [all …]
|
D | sched-migration.py | 33 def thread_name(pid): argument 210 def wake_up(self, ts_list, pid, cpu, fork): argument 351 def migrate(self, headers, pid, prio, orig_cpu, dest_cpu): argument 355 def wake_up(self, headers, comm, pid, success, target_cpu, fork): argument 374 common_callchain, comm, pid, runtime, vruntime): 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 [all …]
|
/tools/testing/selftests/pidfd/ |
D | pidfd_wait.c | 34 static int sys_waitid(int which, pid_t pid, siginfo_t *info, int options, in sys_waitid() 50 pid_t pid; in TEST() local 99 pid_t pid; in TEST() local 160 pid_t pid; in TEST() local
|
D | pidfd_setns_test.c | 54 pid_t pid; in FIXTURE() local 70 static int sys_waitid(int which, pid_t pid, int options) in sys_waitid() 302 static int preserve_ns(const int pid, const char *ns) in preserve_ns() 362 pid_t pid; in TEST_F() local 380 pid_t pid; in TEST_F() local 416 pid_t pid; in TEST_F() local 453 pid_t pid; in TEST_F() local
|
/tools/testing/selftests/rlimits/ |
D | rlimits-per-userns.c | 32 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/powerpc/signal/ |
D | sigreturn_kernel.c | 35 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/arm64/fp/ |
D | zt-ptrace.c | 54 static struct user_za_header *get_za(pid_t pid, void **buf, size_t *size) in get_za() 91 static int set_za(pid_t pid, const struct user_za_header *za) in set_za() 100 static int get_zt(pid_t pid, char zt[ZT_SIG_REG_BYTES]) in get_zt() 110 static int set_zt(pid_t pid, const char zt[ZT_SIG_REG_BYTES]) in set_zt() 258 pid_t pid; in do_parent() local
|
/tools/testing/selftests/bpf/progs/ |
D | test_varlen.c | 45 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
|
D | local_storage.c | 64 __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/kvm/kvm_stat/ |
D | kvm_stat | 490 def _perf_event_open(self, attr, pid, cpu, group_fd, flags): argument 575 def __init__(self, pid): argument 602 def __init__(self, pid, fields_filter): argument 762 def pid(self): member in TracepointProvider 766 def pid(self, pid): argument 798 def __init__(self, pid, fields_filter, include_past): argument 839 def pid(self): member in DebugfsProvider 843 def pid(self, pid): member in DebugfsProvider 987 def pid_filter(self, pid): argument 1153 def get_gname_from_pid(pid): argument [all …]
|
/tools/testing/selftests/ptrace/ |
D | get_syscall_info.c | 17 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
|
D | vmaccess.c | 26 int f, pid = fork(); in TEST() local 48 int s, k, pid = fork(); in TEST() local
|
/tools/testing/selftests/arm64/mte/ |
D | check_gcr_el1_cswitch.c | 30 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/ |
D | close_range_test.c | 115 pid_t pid; in TEST() local 204 pid_t pid; in TEST() local 389 pid_t pid; in TEST() local 471 pid_t pid; in TEST() local 568 pid_t pid; in TEST() local
|
/tools/testing/selftests/exec/ |
D | null-argv.c | 22 void check_result(pid_t pid, const char *msg) in check_result() 49 pid_t pid; in main() local
|
/tools/testing/selftests/filesystems/binderfs/ |
D | binderfs_test.c | 187 static int wait_for_pid(pid_t pid) in wait_for_pid() 246 static int write_id_mapping(enum idmap_type type, pid_t pid, const char *buf, in write_id_mapping() 329 static void change_idmaps(struct __test_metadata *_metadata, int syncfds[2], pid_t pid) in change_idmaps() 391 pid_t pid; in TEST() local 517 pid_t pid; in TEST() local
|
/tools/perf/arch/x86/tests/ |
D | intel-cqm.c | 18 pid_t pid; in spawn() local 48 pid_t pid; in test__intel_cqm_count_nmi_context() local
|
/tools/testing/selftests/clone3/ |
D | clone3_clear_sighand.c | 27 static int wait_for_pid(pid_t pid) in wait_for_pid() 49 pid_t pid; in test_clone3_clear_sighand() local
|