Searched refs:pid (Results 76 - 100 of 1514) sorted by relevance

1234567891011>>

/linux-master/tools/perf/util/
H A Djit.h8 struct machine *machine, char *filename, pid_t pid, pid_t tid, u64 *nbytes);
H A Dthread_map.h12 struct perf_thread_map *thread_map__new_by_pid(pid_t pid);
16 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid);
19 struct perf_thread_map *thread_map__new_str(const char *pid,
27 bool thread_map__has(struct perf_thread_map *threads, pid_t pid);
/linux-master/arch/um/drivers/
H A Dslirp_user.c40 int pid; local
44 pid = run_helper(slirp_pre_exec, &pe_data, argv);
46 return pid;
52 int fds[2], pid, err; local
63 pid = err;
68 pri->pid = err;
87 if (pri->pid<1) {
94 if (kill(pri->pid, SIGHUP)<0) {
96 "(%d)\n", pri->pid, errno);
99 err = helper_wait(pri->pid);
[all...]
/linux-master/scripts/
H A Dgenerate_initcall_order.pl18 my $jobs = {}; # child process pid -> file handle
158 my $pid = 0;
167 $pid = waitpid(-1, WNOHANG);
168 if ($pid > 0) {
169 if (!exists($jobs->{$pid})) {
173 my $fh = $jobs->{$pid};
181 delete($jobs->{$pid});
183 } while ($pid > 0);
195 my $pid = open(my $fh, '-|');
197 if (!defined($pid)) {
[all...]
/linux-master/tools/perf/scripts/python/bin/
H A Dfailed-syscalls-by-pid-report2 # description: system-wide failed syscalls, by pid
10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/failed-syscalls-by-pid.py $comm
H A Dsyscall-counts-by-pid-report2 # description: system-wide syscall counts, by pid
10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts-by-pid.py $comm
/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_common/
H A Disp_global.h95 #define bmem_ldrow(fu, pid, offset, data) bmem_ldrow_s(fu, pid, offset, data)
96 #define bmem_strow(fu, pid, offset, data) bmem_strow_s(fu, pid, offset, data)
97 #define bmem_ldblk(fu, pid, offset, data) bmem_ldblk_s(fu, pid, offset, data)
98 #define bmem_stblk(fu, pid, offset, data) bmem_stblk_s(fu, pid, offset, data)
/linux-master/tools/testing/selftests/kvm/include/
H A Dnumaif.h27 long migrate_pages(int pid, unsigned long maxnode, argument
31 return syscall(__NR_migrate_pages, pid, maxnode, frommask, tomask);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_prog_array_init.c32 pid_t pid = bpf_get_current_pid_tgid() >> 32; local
34 if (pid != my_pid)
H A Dexhandler_kern.c21 int pid = bpf_get_current_pid_tgid() >> 32; local
25 if (test_pid != pid)
H A Dhtab_update.c16 int pid = 0; variable
24 if ((bpf_get_current_pid_tgid() >> 32) != pid)
H A Dread_bpf_task_storage_busy.c12 int pid = 0; variable
30 if (bpf_get_current_pid_tgid() >> 32 != pid)
H A Dtest_map_ops.c29 const volatile pid_t pid; variable
43 if (pid != (bpf_get_current_pid_tgid() >> 32))
56 if (pid != (bpf_get_current_pid_tgid() >> 32))
69 if (pid != (bpf_get_current_pid_tgid() >> 32))
82 if (pid != (bpf_get_current_pid_tgid() >> 32))
95 if (pid != (bpf_get_current_pid_tgid() >> 32))
111 if (pid != (bpf_get_current_pid_tgid() >> 32))
129 if (pid != (bpf_get_current_pid_tgid() >> 32))
H A Dima.c31 u32 pid; local
33 pid = bpf_get_current_pid_tgid() >> 32;
34 if (pid == monitored_pid) {
57 u32 pid; local
59 pid = bpf_get_current_pid_tgid() >> 32;
60 if (pid == monitored_pid && test_deny)
/linux-master/include/uapi/linux/dvb/
H A Dnet.h18 * @pid: Packet ID (PID) of the MPEG-TS that contains data
31 __u16 pid; member in struct:dvb_net_if
46 __u16 pid; member in struct:__dvb_net_if_old
/linux-master/arch/um/kernel/skas/
H A Dmmu.c34 to_mm->id.u.pid = copy_context_skas0(stack,
35 from_mm->id.u.pid);
36 else to_mm->id.u.pid = start_userspace(stack);
39 if (to_mm->id.u.pid < 0) {
40 ret = to_mm->id.u.pid;
70 if (mmu->id.u.pid < 2) {
71 printk(KERN_ERR "corrupt mm_context - pid = %d\n",
72 mmu->id.u.pid);
75 os_kill_ptraced_process(mmu->id.u.pid, 1);
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-tar.c78 pid_t pid; local
85 pid = fork();
86 if (pid < 0) {
91 if (pid == 0)
94 if (pid) {
101 ret = trace_tar(pid);
105 ret = trace_tar_write(pid);
120 if (ret != pid) {
H A Dptrace-vsx.c61 pid_t pid; local
74 pid = fork();
75 if (pid < 0) {
80 if (pid == 0)
83 if (pid) {
88 ret = trace_vsx(pid);
90 kill(pid, SIGTERM);
101 if (ret != pid) {
/linux-master/scripts/gdb/linux/
H A Dtasks.py38 def get_task_by_pid(pid):
40 if int(task['pid']) == pid:
54 def invoke(self, pid):
55 task = get_task_by_pid(pid)
59 raise gdb.GdbError("No task of PID " + str(pid))
76 task["pid"].format_string(),
111 """Calculate Linux thread_info from task variable found by pid
119 def invoke(self, pid):
120 task = get_task_by_pid(pid)
[all...]
/linux-master/tools/testing/selftests/powerpc/signal/
H A Dsignal.c23 extern long signal_self(pid_t pid, int sig);
41 pid_t pid; local
57 pid = fork();
58 if (pid == -1) {
62 if (pid == 0) {
75 waitpid(pid, NULL, 0);
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/
H A Dtask_event_pinned_vs_ebb_test.c42 pid_t pid; local
50 pid = fork();
51 if (pid == 0) {
57 rc = setup_child_event(&event, pid);
59 kill_child_and_wait(pid);
73 FAIL_IF(wait_for_child(pid) != 2);
H A Dtask_event_vs_ebb_test.c40 pid_t pid; local
48 pid = fork();
49 if (pid == 0) {
55 rc = setup_child_event(&event, pid);
57 kill_child_and_wait(pid);
71 FAIL_IF(wait_for_child(pid));
/linux-master/tools/testing/selftests/powerpc/math/
H A Dvmx_syscall.c23 extern int test_vmx(vector int *varray, pid_t *pid);
52 pid_t pid; local
59 pid = fork();
60 FAIL_IF(pid == -1);
79 if (pid)
80 waitpid(pid, &child_ret, 0);
/linux-master/drivers/usb/storage/
H A Dusual-tables.c43 u16 vid, pid, bcdmin, bcdmax; member in struct:ignore_entry
51 .pid = id_product, \
79 unsigned vid, pid, bcd; local
84 pid = le16_to_cpu(udev->descriptor.idProduct);
88 if (p->vid == vid && p->pid == pid &&
/linux-master/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test_arm64.c81 static bool set_watchpoint(pid_t pid, int size, int wp) argument
98 if (ptrace(PTRACE_SETREGSET, pid, NT_ARM_HW_WATCH, &iov) == 0)
116 pid_t pid = fork(); local
119 if (pid < 0) {
124 if (pid == 0)
127 wpid = waitpid(pid, &status, __WALL);
128 if (wpid != pid) {
143 if (!set_watchpoint(pid, wp_size, wp))
146 if (ptrace(PTRACE_CONT, pid, NULL, NULL) < 0) {
154 wpid = waitpid(pid,
[all...]

Completed in 518 milliseconds

1234567891011>>