/linux-4.4.14/tools/perf/tests/ |
D | thread-map.c | 12 map = thread_map__new_by_pid(getpid()); in test__thread_map() 19 thread_map__pid(map, 0) == getpid()); in test__thread_map()
|
D | keep-tracking.c | 35 (pid_t)event->comm.pid == getpid() && in find_comm() 36 (pid_t)event->comm.tid == getpid() && in find_comm() 70 threads = thread_map__new(-1, getpid(), UINT_MAX); in test__keep_tracking()
|
D | dwarf-unwind.c | 32 pid_t pid = getpid(); in init_live_machine() 170 thread = machine__find_thread(machine, getpid(), getpid()); in test__dwarf_unwind()
|
D | mmap-thread-lookup.c | 140 map = thread_map__new_by_pid(getpid()); in synth_process() 186 thread = machine__findnew_thread(machine, getpid(), td->tid); in mmap_events()
|
D | openat-syscall.c | 13 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); in test__openat_syscall_event()
|
D | switch-tracking.c | 66 (pid_t)event->comm.pid == getpid() && in check_comm() 67 (pid_t)event->comm.tid == getpid() && in check_comm() 329 threads = thread_map__new(-1, getpid(), UINT_MAX); in test__switch_tracking()
|
D | bp_signal_overflow.c | 104 fcntl(fd, F_SETOWN, getpid()); in test__bp_signal_overflow()
|
D | openat-syscall-tp-fields.c | 49 thread_map__set_pid(evlist->threads, 0, getpid()); in test__syscall_openat_tp_fields()
|
D | openat-syscall-all-cpus.c | 17 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); in test__openat_syscall_event_on_all_cpus()
|
D | sw-clock.c | 56 threads = thread_map__new_by_tid(getpid()); in __test__sw_clock_freq()
|
D | bp_signal.c | 92 fcntl(fd, F_SETOWN, getpid()); in bp_event()
|
D | mmap-basic.c | 35 threads = thread_map__new(-1, getpid(), UINT_MAX); in test__basic_mmap()
|
D | bpf.c | 75 snprintf(pid, sizeof(pid), "%d", getpid()); in do_test()
|
D | builtin-test.c | 218 pr_debug("test child forked, pid %d\n", getpid()); in run_test()
|
D | code-reading.c | 460 pid = getpid(); in do_test_code_reading()
|
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/ |
D | cpupower-monitor.h | 77 if (sched_getaffinity(getpid(), sizeof(set), &set) == 0) { in bind_cpu() 80 return sched_setaffinity(getpid(), sizeof(set), &set); in bind_cpu()
|
/linux-4.4.14/tools/perf/arch/x86/tests/ |
D | perf-time-to-tsc.c | 62 threads = thread_map__new(-1, getpid(), UINT_MAX); in test__perf_time_to_tsc() 114 (pid_t)event->comm.pid != getpid() || in test__perf_time_to_tsc() 115 (pid_t)event->comm.tid != getpid()) in test__perf_time_to_tsc()
|
/linux-4.4.14/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 35 pid1 = getpid(); in main() 49 int pid2 = getpid(); in main()
|
/linux-4.4.14/tools/testing/selftests/breakpoints/ |
D | breakpoint_test.c | 139 kill(getpid(), SIGUSR1); in check_trapped() 214 kill(getpid(), SIGUSR1); in trigger_tests() 259 kill(getpid(), SIGUSR1); in trigger_tests()
|
/linux-4.4.14/tools/testing/selftests/x86/ |
D | ptrace_syscall.c | 136 if (args.nr != getpid() || in test_sys32_regs() 148 args.arg0 = getpid(); in test_sys32_regs() 152 args.arg0 != getpid() || args.arg1 != SIGUSR1 || args.arg2 != 12 || in test_sys32_regs()
|
D | unwind_vdso.c | 118 bool ok = (eax == SYS_getpid || eax == getpid()) && in trace_fn()
|
/linux-4.4.14/tools/testing/selftests/powerpc/dscr/ |
D | dscr_explicit_test.c | 27 srand(getpid()); in dscr_explicit()
|
D | dscr_inherit_test.c | 28 srand(getpid()); in dscr_inherit()
|
D | dscr_default_test.c | 83 srand(getpid()); in dscr_default()
|
/linux-4.4.14/arch/um/os-Linux/ |
D | util.c | 93 if (kill(getpid(), SIGABRT) < 0) in uml_abort()
|
D | umid.c | 224 snprintf(pid, sizeof(pid), "%d\n", getpid()); in create_pid_file()
|
/linux-4.4.14/tools/power/cpupower/bench/ |
D | system.c | 96 if (sched_setaffinity(getpid(), sizeof(cpu_set_t), &cpuset) < 0) { in set_cpu_affinity()
|
/linux-4.4.14/tools/hv/ |
D | hv_fcopy_daemon.c | 168 syslog(LOG_INFO, "HV_FCOPY starting; pid is:%d", getpid()); in main()
|
D | hv_vss_daemon.c | 177 syslog(LOG_INFO, "VSS starting; pid is:%d", getpid()); in main()
|
D | hv_kvp_daemon.c | 124 fl.l_pid = getpid(); in kvp_acquire_lock() 136 fl.l_pid = getpid(); in kvp_release_lock() 1434 syslog(LOG_INFO, "KVP starting; pid is:%d", getpid()); in main()
|
/linux-4.4.14/Documentation/accounting/ |
D | getdelays.c | 175 rc = send_cmd(sd, GENL_ID_CTRL, getpid(), CTRL_CMD_GETFAMILY, in get_family_id() 382 mypid = getpid(); in main()
|
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ |
D | lib.c | 167 printf("main test running as pid %d\n", getpid()); in eat_cpu()
|
/linux-4.4.14/Documentation/connector/ |
D | ucon.c | 72 nlh->nlmsg_pid = getpid(); in netlink_send()
|
/linux-4.4.14/tools/perf/bench/ |
D | futex-wake.c | 145 getpid(), nthreads, fshared ? "shared":"private", &futex1, nwakes); in bench_futex_wake()
|
D | futex-requeue.c | 139 "%d at a time.\n\n", getpid(), nthreads, in bench_futex_requeue()
|
D | futex-lock-pi.c | 166 getpid(), nthreads, nsecs); in bench_futex_lock_pi()
|
D | futex-hash.c | 142 getpid(), nthreads, nfutexes, fshared ? "shared":"private", nsecs); in bench_futex_hash()
|
D | futex-wake-parallel.c | 240 getpid(), nblocked_threads, fshared ? "shared":"private", in bench_futex_wake_parallel()
|
D | mem-functions.c | 68 cycles_fd = sys_perf_event_open(&cycle_attr, getpid(), -1, -1, perf_event_open_cloexec_flag()); in init_cycles()
|
/linux-4.4.14/tools/virtio/ |
D | vringh_test.c | 100 if (sched_setaffinity(getpid(), sizeof(set), &set) == 0) { in find_cpus() 191 if (sched_setaffinity(getpid(), sizeof(cpu_set), &cpu_set)) in parallel_test() 313 if (sched_setaffinity(getpid(), sizeof(cpu_set), &cpu_set)) in parallel_test()
|
/linux-4.4.14/Documentation/timers/ |
D | hpet_example.c | 250 if ((fcntl(fd, F_SETOWN, getpid()) == 1) || in hpet_fasync()
|
/linux-4.4.14/tools/net/ |
D | bpf_jit_disasm.c | 39 snprintf(tpath, size, "/proc/%d/exe", (int) getpid()); in get_exec_path()
|
/linux-4.4.14/tools/usb/usbip/src/ |
D | usbipd.c | 471 fprintf(fp, "%d\n", getpid()); in write_pid_file()
|
/linux-4.4.14/arch/parisc/kernel/ |
D | syscall_table.S | 80 ENTRY_SAME(getpid) /* 20 */
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | systbl.h | 26 SYSCALL_SPU(getpid)
|
/linux-4.4.14/arch/x86/entry/syscalls/ |
D | syscall_64.tbl | 48 39 common getpid sys_getpid
|
D | syscall_32.tbl | 29 20 i386 getpid sys_getpid
|
/linux-4.4.14/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 1087 pid_t tracee = getpid(); in setup_trace_fixture() 1388 self->mypid = getpid(); in FIXTURE_SETUP() 2156 EXPECT_EQ(getpid(), info.si_pid); in TEST()
|
/linux-4.4.14/Documentation/powerpc/ |
D | transactional_memory.txt | 93 Examples are glibc's getpid() and lazy symbol resolution.
|
/linux-4.4.14/Documentation/networking/ |
D | packet_mmap.txt | 683 fprintf(stdout, "(%d) \n", getpid()); 686 fprintf(stdout, "%d: Received 10000 packets\n", getpid()); 712 fanout_id = getpid() & 0xffff;
|
/linux-4.4.14/scripts/kconfig/ |
D | confdata.c | 774 sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); in conf_write()
|
/linux-4.4.14/tools/perf/ |
D | builtin-stat.c | 923 kill(getpid(), signr); in sig_atexit()
|
D | builtin-trace.c | 2598 err = perf_evlist__set_filter_pid(evlist, getpid()); in trace__run() 2963 trace->filter_pids.entries[0] = getpid(); in trace__set_filter_pids()
|
D | builtin-timechart.c | 1731 if (asprintf(&filter, "common_pid != %d", getpid()) < 0) in timechart__io_record()
|
/linux-4.4.14/Documentation/ia64/ |
D | fsys.txt | 86 of the getpid() system call.
|
/linux-4.4.14/tools/perf/util/ |
D | parse-events.c | 1586 snprintf(new_filter, sizeof(new_filter), "common_pid != %d", getpid()); in add_exclude_perf_filter()
|
D | header.c | 380 sprintf(proc, "/proc/%d/exe", getpid()); in write_cmdline()
|
/linux-4.4.14/kernel/ |
D | sys.c | 830 SYSCALL_DEFINE0(getpid) in SYSCALL_DEFINE0() argument
|
/linux-4.4.14/tools/power/x86/turbostat/ |
D | turbostat.c | 1778 cap_header->pid = getpid(); in check_permissions()
|
/linux-4.4.14/Documentation/trace/ |
D | ftrace.txt | 1842 s = sprintf(line, "%d\n", getpid());
|
/linux-4.4.14/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 3188 156 usr1_pid(getpid());
|