/linux-6.1.9/tools/perf/util/ |
D | machine.h | 44 pid_t pid; 59 pid_t *current_tid; 69 static inline struct threads *machine__threads(struct machine *machine, pid_t tid) in machine__threads() 111 struct thread *machine__find_thread(struct machine *machine, pid_t pid, 112 pid_t tid); 167 struct machine *machines__add(struct machines *machines, pid_t pid, 169 struct machine *machines__find(struct machines *machines, pid_t pid); 170 struct machine *machines__findnew(struct machines *machines, pid_t pid); 171 struct machine *machines__find_guest(struct machines *machines, pid_t pid); 172 struct thread *machines__findnew_guest_code(struct machines *machines, pid_t pid); [all …]
|
D | namespaces.h | 33 pid_t pid; 34 pid_t tgid; 35 pid_t nstgid; 49 struct nsinfo *nsinfo__new(pid_t pid); 57 pid_t nsinfo__tgid(const struct nsinfo *nsi); 58 pid_t nsinfo__nstgid(const struct nsinfo *nsi); 59 pid_t nsinfo__pid(const struct nsinfo *nsi); 60 pid_t nsinfo__in_pidns(const struct nsinfo *nsi);
|
D | thread_map.h | 14 struct perf_thread_map *thread_map__new_by_pid(pid_t pid); 15 struct perf_thread_map *thread_map__new_by_tid(pid_t tid); 18 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid); 29 bool thread_map__has(struct perf_thread_map *threads, pid_t pid);
|
D | thread_map.c | 33 struct perf_thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid() 61 struct perf_thread_map *thread_map__new_by_tid(pid_t tid) in thread_map__new_by_tid() 95 pid_t pid = strtol(dirent->d_name, &end, 10); in __thread_map__new_all_cpus() 170 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new() 188 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() 247 pid_t tid, prev_tid = INT_MAX; in thread_map__new_by_tid_str() 318 static int get_comm(char **comm, pid_t pid) in get_comm() 344 pid_t pid = perf_thread_map__pid(map, i); in comm_init() 379 perf_thread_map__set_pid(threads, i, (pid_t) event->entries[i].pid); in thread_map__copy_event() 397 bool thread_map__has(struct perf_thread_map *threads, pid_t pid) in thread_map__has()
|
/linux-6.1.9/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 64 int start_trace(pid_t child) in start_trace() 81 int stop_trace(pid_t child) in stop_trace() 93 int cont_trace(pid_t child) in cont_trace() 105 int ptrace_read_regs(pid_t child, unsigned long type, unsigned long regs[], in ptrace_read_regs() 125 long ptrace_write_regs(pid_t child, unsigned long type, unsigned long regs[], in ptrace_write_regs() 144 int show_tar_registers(pid_t child, unsigned long *out) in show_tar_registers() 189 int write_tar_registers(pid_t child, unsigned long tar, in write_tar_registers() 233 int show_tm_checkpointed_state(pid_t child, unsigned long *out) in show_tm_checkpointed_state() 280 int write_ckpt_tar_registers(pid_t child, unsigned long tar, in write_ckpt_tar_registers() 325 int show_fpr(pid_t child, __u64 *fpr) in show_fpr() [all …]
|
D | ptrace-perf-hwbreak.c | 86 static int perf_thread_event_open(pid_t child_pid, __u64 addr, __u64 len) in perf_thread_event_open() 94 static int perf_thread_cpu_event_open(pid_t child_pid, int cpu, __u64 addr, __u64 len) in perf_thread_cpu_event_open() 102 static int perf_thread_kernel_event_open(pid_t child_pid) in perf_thread_kernel_event_open() 147 static int ptrace_open(pid_t child_pid, __u64 wp_addr, int len) in ptrace_open() 155 static int test1(pid_t child_pid) in test1() 180 static int test2(pid_t child_pid) in test2() 209 static int test3(pid_t child_pid) in test3() 234 static int test4(pid_t child_pid) in test4() 263 static int test5(pid_t child_pid) in test5() 302 static int test6(pid_t child_pid) in test6() [all …]
|
D | ptrace-hwbreak.c | 51 static void get_dbginfo(pid_t child_pid, struct ppc_debug_info *dbginfo) in get_dbginfo() 211 static void check_success(pid_t child_pid, const char *name, const char *type, in check_success() 245 static void ptrace_set_debugreg(pid_t child_pid, unsigned long wp_addr) in ptrace_set_debugreg() 253 static int ptrace_sethwdebug(pid_t child_pid, struct ppc_hw_breakpoint *info) in ptrace_sethwdebug() 264 static void ptrace_delhwdebug(pid_t child_pid, int wh) in ptrace_delhwdebug() 276 static int test_set_debugreg(pid_t child_pid) in test_set_debugreg() 317 static int test_set_debugreg_kernel_userspace(pid_t child_pid) in test_set_debugreg_kernel_userspace() 350 static void test_sethwdebug_exact(pid_t child_pid) in test_sethwdebug_exact() 380 static void test_sethwdebug_exact_kernel_userspace(pid_t child_pid) in test_sethwdebug_exact_kernel_userspace() 396 static void test_sethwdebug_range_aligned(pid_t child_pid) in test_sethwdebug_range_aligned() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_smi_events.h | 32 void kfd_smi_event_page_fault_start(struct kfd_dev *dev, pid_t pid, 35 void kfd_smi_event_page_fault_end(struct kfd_dev *dev, pid_t pid, 37 void kfd_smi_event_migration_start(struct kfd_dev *dev, pid_t pid, 42 void kfd_smi_event_migration_end(struct kfd_dev *dev, pid_t pid, 45 void kfd_smi_event_queue_eviction(struct kfd_dev *dev, pid_t pid, 47 void kfd_smi_event_queue_restore(struct kfd_dev *dev, pid_t pid); 49 void kfd_smi_event_unmap_from_gpu(struct kfd_dev *dev, pid_t pid,
|
D | kfd_smi_events.c | 42 pid_t pid; 162 static bool kfd_smi_ev_enabled(pid_t pid, struct kfd_smi_client *client, in kfd_smi_ev_enabled() 174 static void add_event_to_kfifo(pid_t pid, struct kfd_dev *dev, in add_event_to_kfifo() 199 static void kfd_smi_event_add(pid_t pid, struct kfd_dev *dev, in kfd_smi_event_add() 253 void kfd_smi_event_page_fault_start(struct kfd_dev *dev, pid_t pid, in kfd_smi_event_page_fault_start() 262 void kfd_smi_event_page_fault_end(struct kfd_dev *dev, pid_t pid, in kfd_smi_event_page_fault_end() 270 void kfd_smi_event_migration_start(struct kfd_dev *dev, pid_t pid, in kfd_smi_event_migration_start() 282 void kfd_smi_event_migration_end(struct kfd_dev *dev, pid_t pid, in kfd_smi_event_migration_end() 292 void kfd_smi_event_queue_eviction(struct kfd_dev *dev, pid_t pid, in kfd_smi_event_queue_eviction() 300 void kfd_smi_event_queue_restore(struct kfd_dev *dev, pid_t pid) in kfd_smi_event_queue_restore() [all …]
|
/linux-6.1.9/tools/include/nolibc/ |
D | sys.h | 337 pid_t sys_fork(void) in sys_fork() 353 pid_t fork(void) in fork() 355 pid_t ret = sys_fork(); in fork() 416 pid_t sys_getpgid(pid_t pid) in sys_getpgid() 422 pid_t getpgid(pid_t pid) in getpgid() 424 pid_t ret = sys_getpgid(pid); in getpgid() 439 pid_t sys_getpgrp(void) in sys_getpgrp() 445 pid_t getpgrp(void) in getpgrp() 456 pid_t sys_getpid(void) in sys_getpid() 462 pid_t getpid(void) in getpid() [all …]
|
/linux-6.1.9/include/trace/events/ |
D | sched.h | 24 __field( pid_t, pid ) 149 __field( pid_t, pid ) 233 __field( pid_t, prev_pid ) 237 __field( pid_t, next_pid ) 282 __field( pid_t, pid ) 309 __field( pid_t, pid ) 355 __field( pid_t, pid ) 380 __field( pid_t, parent_pid ) 382 __field( pid_t, child_pid ) 402 TP_PROTO(struct task_struct *p, pid_t old_pid, [all …]
|
/linux-6.1.9/tools/testing/selftests/arm64/mte/ |
D | check_gcr_el1_cswitch.c | 30 pid_t pid = *((pid_t *)x); in execute_thread() 31 pid_t tid = gettid(); in execute_thread() 69 int execute_test(pid_t pid) in execute_test() 90 pid_t pid; in mte_gcr_fork_test() 92 pid_t cpid; in mte_gcr_fork_test()
|
/linux-6.1.9/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 15 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) in sys_rt_sigqueueinfo() 20 static int sys_rt_tgsigqueueinfo(pid_t tgid, pid_t tid, in sys_rt_tgsigqueueinfo() 26 static int sys_ptrace(int request, pid_t pid, void *addr, void *data) in sys_ptrace() 44 static int check_error_paths(pid_t child) in check_error_paths() 105 int check_direct_path(pid_t child, int shared, int nr) in check_direct_path() 157 pid_t child; in main() 168 pid_t ppid = getppid(); in main()
|
/linux-6.1.9/include/linux/ |
D | elfcore.h | 38 pid_t pr_pid; 39 pid_t pr_ppid; 40 pid_t pr_pgrp; 41 pid_t pr_sid; 66 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
|
D | agpgart.h | 64 pid_t pid; /* pid of process */ 92 pid_t pid; 100 pid_t pid; 115 pid_t my_pid;
|
/linux-6.1.9/tools/testing/selftests/rlimits/ |
D | rlimits-per-userns.c | 32 pid_t pid = getpid(); in setrlimit_nproc() 44 static pid_t fork_child(void) in fork_child() 46 pid_t pid = fork(); in fork_child() 88 pid_t child[NR_CHILDS]; in main() 91 pid_t pid; in main() 120 pid_t ret = waitpid(child[i], &wstatus[i], WNOHANG); in main()
|
/linux-6.1.9/include/linux/sched/ |
D | task.h | 30 pid_t *set_tid; 90 extern pid_t kernel_clone(struct kernel_clone_args *kargs); 94 extern pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); 95 extern pid_t user_mode_thread(int (*fn)(void *), void *arg, unsigned long flags); 96 extern long kernel_wait4(pid_t, int __user *, int, struct rusage *); 97 int kernel_wait(pid_t pid, int *stat);
|
/linux-6.1.9/tools/testing/selftests/powerpc/math/ |
D | fpu_syscall.c | 18 extern int test_fpu(double *darray, pid_t *pid); 26 pid_t fork_pid; in syscall_fpu() 50 pid_t pid2; in test_syscall_fpu() 51 pid_t pid = fork(); in test_syscall_fpu()
|
D | vmx_syscall.c | 23 extern int test_vmx(vector int *varray, pid_t *pid); 27 pid_t fork_pid; in vmx_syscall() 51 pid_t pid2; in test_vmx_syscall() 52 pid_t pid; in test_vmx_syscall()
|
/linux-6.1.9/tools/testing/selftests/pidfd/ |
D | pidfd_wait.c | 29 static pid_t sys_clone3(struct clone_args *args) in sys_clone3() 34 static int sys_waitid(int which, pid_t pid, siginfo_t *info, int options, in sys_waitid() 43 pid_t parent_tid = -1; in TEST() 50 pid_t pid; in TEST() 91 pid_t parent_tid = -1; in TEST() 99 pid_t pid; in TEST() 153 pid_t parent_tid = -1; in TEST() 160 pid_t pid; in TEST()
|
/linux-6.1.9/tools/testing/selftests/arm64/fp/ |
D | za-ptrace.c | 49 static struct user_za_header *get_za(pid_t pid, void **buf, size_t *size) in get_za() 86 static int set_za(pid_t pid, const struct user_za_header *za) in set_za() 96 static void ptrace_set_get_vl(pid_t child, unsigned int vl, bool *supported) in ptrace_set_get_vl() 139 static void ptrace_set_no_data(pid_t child, unsigned int vl) in ptrace_set_no_data() 180 static void ptrace_set_get_data(pid_t child, unsigned int vl) in ptrace_set_get_data() 238 static int do_parent(pid_t child) in do_parent() 241 pid_t pid; in do_parent() 333 pid_t child; in main()
|
/linux-6.1.9/tools/testing/selftests/clone3/ |
D | clone3_cap_checkpoint_restore.c | 42 pid_t *set_tid, size_t set_tid_size) in call_clone3_set_tid() 45 pid_t pid = -1; in call_clone3_set_tid() 84 pid_t *set_tid, size_t set_tid_size) in test_clone3_set_tid() 140 pid_t pid; in TEST() 143 pid_t set_tid[1]; in TEST()
|
/linux-6.1.9/tools/testing/selftests/powerpc/pmu/ |
D | lib.h | 24 extern int kill_child_and_wait(pid_t child_pid); 25 extern int wait_for_child(pid_t child_pid); 30 extern pid_t eat_cpu(int (test_function)(void));
|
/linux-6.1.9/tools/testing/selftests/powerpc/signal/ |
D | sigreturn_kernel.c | 33 static pid_t fork_child(void) in fork_child() 35 pid_t pid; in fork_child() 46 static int expect_segv(pid_t pid) in expect_segv() 62 pid_t pid; in test_sigreturn_kernel()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | profiler.h | 56 pid_t ancestor_pids[MAX_ANCESTORS]; 64 pid_t pid; 99 pid_t kill_target_pid; 112 pid_t parent_pid; 124 pid_t parent_pid;
|