Home
last modified time | relevance | path

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

12345678910>>...14

/tools/testing/selftests/powerpc/ptrace/
Dptrace-perf-hwbreak.c39 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/
Dproc-empty-vm.c138 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
Dthread-self.c30 pid_t pid, tid; in f() local
50 pid_t pid; in main() local
/tools/perf/util/
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
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()
Dbpf_off_cpu.c27 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/
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
Dcgroup_util.c272 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/
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
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 …]
Dsched-migration.py33 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/
Dpidfd_wait.c34 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
Dpidfd_setns_test.c54 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/
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/powerpc/signal/
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/arm64/fp/
Dzt-ptrace.c54 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/
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
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/kvm/kvm_stat/
Dkvm_stat490 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/
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
Dvmaccess.c26 int f, pid = fork(); in TEST() local
48 int s, k, pid = fork(); in TEST() local
/tools/testing/selftests/arm64/mte/
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/
Dclose_range_test.c115 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/
Dnull-argv.c22 void check_result(pid_t pid, const char *msg) in check_result()
49 pid_t pid; in main() local
/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c187 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/
Dintel-cqm.c18 pid_t pid; in spawn() local
48 pid_t pid; in test__intel_cqm_count_nmi_context() local
/tools/testing/selftests/clone3/
Dclone3_clear_sighand.c27 static int wait_for_pid(pid_t pid) in wait_for_pid()
49 pid_t pid; in test_clone3_clear_sighand() local

12345678910>>...14