Searched refs:pid_t (Results 101 - 125 of 530) sorted by relevance

1234567891011>>

/linux-master/tools/perf/util/
H A Dstring2.h7 #include <sys/types.h> // pid_t
36 char *asprintf__tp_filter_pids(size_t npids, pid_t *pids);
H A Dthread_map.c34 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 Dsynthetic-events.h6 #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 Dthreads.c6 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 Dsession.h112 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 Dza-fork.c26 pid_t newpid, waiting;
H A Dsve-ptrace.c93 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 Diters_task.c12 pid_t target_pid;
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-context-chk-fpu.c35 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 Dtm-signal-context-chk-gpr.c35 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 Dtm-signal-context-chk-vsx.c37 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 Dget_set_sud.c13 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 Dcgroup_util.h60 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 Dptrace-vsx.c37 int trace_vsx(pid_t child)
61 pid_t pid;
H A Dptrace-syscall.c41 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 Dthread_self.c16 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 Dclone3_clear_sighand.c23 static int wait_for_pid(pid_t pid)
45 pid_t pid;
H A Dclone3_set_tid.c38 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 Dproc-empty-vm.c173 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 Dptrace.c32 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 Dfsgsbase_restore.c131 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 Dbreakpoint_test_arm64.c81 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 Devent.c17 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 Dhashchk_test.c118 pid_t pid;
157 pid_t pid;
192 pid_t pid;
/linux-master/arch/mips/kernel/
H A Dmips-mt-fpaff.c42 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,

Completed in 445 milliseconds

1234567891011>>