/linux-master/tools/perf/util/ |
H A D | string2.h | 7 #include <sys/types.h> // pid_t 36 char *asprintf__tp_filter_pids(size_t npids, pid_t *pids);
|
H A D | thread_map.c | 34 struct perf_thread_map *thread_map__new_by_pid(pid_t pid) 62 struct perf_thread_map *thread_map__new_by_tid(pid_t tid) 96 pid_t pid = strtol(dirent->d_name, &end, 10); 170 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) 188 pid_t pid, prev_pid = INT_MAX; 247 pid_t tid, prev_tid = INT_MAX; 318 static int get_comm(char **comm, pid_t pid) 344 pid_t pid = perf_thread_map__pid(map, i); 379 perf_thread_map__set_pid(threads, i, (pid_t) even [all...] |
H A D | synthetic-events.h | 6 #include <sys/types.h> // pid_t 61 int perf_event__synthesize_mmap_events(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine, bool mmap_data); 63 int perf_event__synthesize_namespaces(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine); 75 pid_t perf_event__synthesize_comm(struct perf_tool *tool, union perf_event *event, pid_t pid, perf_event__handler_t process, struct machine *machine);
|
H A D | threads.c | 6 static struct threads_table_entry *threads__table(struct threads *threads, pid_t tid) 65 pid_t tid) 92 struct thread *threads__find(struct threads *threads, pid_t tid) 109 struct thread *threads__findnew(struct threads *threads, pid_t pid, pid_t tid, bool *created)
|
H A D | session.h | 112 struct machine *perf_session__find_machine(struct perf_session *session, pid_t pid) 118 struct machine *perf_session__findnew_machine(struct perf_session *session, pid_t pid) 123 struct thread *perf_session__findnew(struct perf_session *session, pid_t pid);
|
/linux-master/tools/testing/selftests/arm64/fp/ |
H A D | za-fork.c | 26 pid_t newpid, waiting;
|
H A D | sve-ptrace.c | 93 static int get_fpsimd(pid_t pid, struct user_fpsimd_state *fpsimd) 102 static int set_fpsimd(pid_t pid, struct user_fpsimd_state *fpsimd) 111 static struct user_sve_header *get_sve(pid_t pid, const struct vec_type *type, 149 static int set_sve(pid_t pid, const struct vec_type *type, 160 static void ptrace_set_get_inherit(pid_t child, const struct vec_type *type) 214 static void ptrace_set_get_vl(pid_t child, const struct vec_type *type, 271 static void ptrace_sve_fpsimd(pid_t child, const struct vec_type *type) 326 static void ptrace_set_sve_get_sve_data(pid_t child, 424 static void ptrace_set_sve_get_fpsimd_data(pid_t child, 507 static void ptrace_set_fpsimd_get_sve_data(pid_t chil [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | iters_task.c | 12 pid_t target_pid;
|
/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-context-chk-fpu.c | 35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss); 79 pid_t pid = getpid();
|
H A D | tm-signal-context-chk-gpr.c | 35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss); 81 pid_t pid = getpid();
|
H A D | tm-signal-context-chk-vsx.c | 37 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss); 153 pid_t pid = getpid();
|
/linux-master/tools/testing/selftests/ptrace/ |
H A D | get_set_sud.c | 13 static int sys_ptrace(int request, pid_t pid, void *addr, void *data) 21 pid_t child;
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.h | 60 extern pid_t clone_into_cgroup(int cgroup_fd); 61 extern int clone_reap(pid_t pid, int options);
|
/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-vsx.c | 37 int trace_vsx(pid_t child) 61 pid_t pid;
|
H A D | ptrace-syscall.c | 41 static void wait_trap(pid_t chld) 57 pid_t chld; 77 pid_t pid = getpid(), tid = syscall(SYS_gettid);
|
/linux-master/fs/proc/ |
H A D | thread_self.c | 16 pid_t tgid = task_tgid_nr_ns(current, ns); 17 pid_t pid = task_pid_nr_ns(current, ns);
|
/linux-master/tools/testing/selftests/clone3/ |
H A D | clone3_clear_sighand.c | 23 static int wait_for_pid(pid_t pid) 45 pid_t pid;
|
H A D | clone3_set_tid.c | 38 static int call_clone3_set_tid(pid_t *set_tid, 45 pid_t pid = -1; 117 static void test_clone3_set_tid(pid_t *set_tid, 154 pid_t pid, ns1, ns2, ns3, ns_pid; 155 pid_t set_tid[MAX_PID_NS_LEVEL * 2];
|
/linux-master/tools/testing/selftests/proc/ |
H A D | proc-empty-vm.c | 173 pid_t pid; 216 static int test_proc_pid_maps(pid_t pid) 238 static int test_proc_pid_numa_maps(pid_t pid) 261 static int test_proc_pid_smaps(pid_t pid) 325 static int test_proc_pid_smaps_rollup(pid_t pid) 369 static int test_proc_pid_statm(pid_t pid) 465 pid_t pid = fork();
|
/linux-master/tools/testing/selftests/arm64/abi/ |
H A D | ptrace.c | 32 static void test_tpidr(pid_t child) 135 static void test_hw_debug(pid_t child, int type, const char *type_name) 174 static int do_parent(pid_t child) 177 pid_t pid; 253 pid_t child;
|
/linux-master/tools/testing/selftests/x86/ |
H A D | fsgsbase_restore.c | 131 pid_t pid = getpid(), tid = syscall(SYS_gettid); 155 pid_t chld = fork(); 165 pid_t pid = getpid(), tid = syscall(SYS_gettid);
|
/linux-master/tools/testing/selftests/breakpoints/ |
H A D | breakpoint_test_arm64.c | 81 static bool set_watchpoint(pid_t pid, int size, int wp) 116 pid_t pid = fork(); 117 pid_t wpid;
|
/linux-master/tools/testing/selftests/powerpc/pmu/ |
H A D | event.c | 17 int perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, 69 int event_open_with_options(struct event *e, pid_t pid, int cpu, int group_fd) 85 int event_open_with_pid(struct event *e, pid_t pid)
|
/linux-master/tools/testing/selftests/powerpc/dexcr/ |
H A D | hashchk_test.c | 118 pid_t pid; 157 pid_t pid; 192 pid_t pid;
|
/linux-master/arch/mips/kernel/ |
H A D | mips-mt-fpaff.c | 42 static inline struct task_struct *find_process_by_pid(pid_t pid) 66 asmlinkage long mipsmt_sys_sched_setaffinity(pid_t pid, unsigned int len, 158 asmlinkage long mipsmt_sys_sched_getaffinity(pid_t pid, unsigned int len,
|