/linux-4.1.27/tools/perf/tests/ |
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 | 28 pid_t pid = getpid(); in init_live_machine() 166 thread = machine__find_thread(machine, getpid(), getpid()); in test__dwarf_unwind()
|
D | perf-time-to-tsc.c | 60 threads = thread_map__new(-1, getpid(), UINT_MAX); in test__perf_time_to_tsc() 112 (pid_t)event->comm.pid != getpid() || in test__perf_time_to_tsc() 113 (pid_t)event->comm.tid != getpid()) in test__perf_time_to_tsc()
|
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 | open-syscall.c | 11 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); in test__open_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 | sw-clock.c | 54 evlist->threads = thread_map__new_by_tid(getpid()); in __test__sw_clock_freq()
|
D | bp_signal_overflow.c | 104 fcntl(fd, F_SETOWN, getpid()); in test__bp_signal_overflow()
|
D | open-syscall-tp-fields.c | 48 evlist->threads->map[0] = getpid(); in test__syscall_open_tp_fields()
|
D | open-syscall-all-cpus.c | 14 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); in test__open_syscall_event_on_all_cpus()
|
D | bp_signal.c | 92 fcntl(fd, F_SETOWN, getpid()); in bp_event()
|
D | mmap-basic.c | 36 threads = thread_map__new(-1, getpid(), UINT_MAX); in test__basic_mmap()
|
D | builtin-test.c | 214 pr_debug("test child forked, pid %d\n", getpid()); in run_test()
|
D | code-reading.c | 411 pid = getpid(); in do_test_code_reading()
|
/linux-4.1.27/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.1.27/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 35 pid1 = getpid(); in main() 49 int pid2 = getpid(); in main()
|
/linux-4.1.27/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.1.27/tools/hv/ |
D | hv_vss_daemon.c | 155 nlh.nlmsg_pid = getpid(); in netlink_send() 218 syslog(LOG_INFO, "VSS starting; pid is:%d", getpid()); in main()
|
D | hv_fcopy_daemon.c | 166 syslog(LOG_INFO, "HV_FCOPY starting; pid is:%d", getpid()); in main()
|
D | hv_kvp_daemon.c | 126 fl.l_pid = getpid(); in kvp_acquire_lock() 138 fl.l_pid = getpid(); in kvp_release_lock() 1400 nlh.nlmsg_pid = getpid(); in netlink_send() 1469 syslog(LOG_INFO, "KVP starting; pid is:%d", getpid()); in main()
|
/linux-4.1.27/tools/power/cpupower/bench/ |
D | system.c | 96 if (sched_setaffinity(getpid(), sizeof(cpu_set_t), &cpuset) < 0) { in set_cpu_affinity()
|
/linux-4.1.27/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.1.27/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.1.27/tools/perf/bench/ |
D | futex-wake.c | 140 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-hash.c | 142 getpid(), nthreads, nfutexes, fshared ? "shared":"private", nsecs); in bench_futex_hash()
|
D | mem-memcpy.c | 92 cycle_fd = sys_perf_event_open(&cycle_attr, getpid(), -1, -1, in init_cycle()
|
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ |
D | lib.c | 167 printf("main test running as pid %d\n", getpid()); in eat_cpu()
|
/linux-4.1.27/Documentation/connector/ |
D | ucon.c | 72 nlh->nlmsg_pid = getpid(); in netlink_send()
|
/linux-4.1.27/tools/net/ |
D | bpf_jit_disasm.c | 34 snprintf(tpath, size, "/proc/%d/exe", (int) getpid()); in get_exec_path()
|
/linux-4.1.27/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.1.27/Documentation/timers/ |
D | hpet_example.c | 250 if ((fcntl(fd, F_SETOWN, getpid()) == 1) || in hpet_fasync()
|
/linux-4.1.27/tools/usb/usbip/src/ |
D | usbipd.c | 471 fprintf(fp, "%d\n", getpid()); in write_pid_file()
|
/linux-4.1.27/arch/parisc/kernel/ |
D | syscall_table.S | 80 ENTRY_SAME(getpid) /* 20 */
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | systbl.h | 26 SYSCALL_SPU(getpid)
|
/linux-4.1.27/arch/x86/syscalls/ |
D | syscall_64.tbl | 48 39 common getpid sys_getpid
|
D | syscall_32.tbl | 29 20 i386 getpid sys_getpid
|
/linux-4.1.27/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.1.27/scripts/kconfig/ |
D | confdata.c | 776 sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); in conf_write()
|
/linux-4.1.27/Documentation/ia64/ |
D | fsys.txt | 86 of the getpid() system call.
|
/linux-4.1.27/tools/perf/ |
D | builtin-trace.c | 2233 err = perf_evlist__set_filter_pid(evlist, getpid()); in trace__run() 2576 trace->filter_pids.entries[0] = getpid(); in trace__set_filter_pids()
|
D | builtin-stat.c | 1503 kill(getpid(), signr); in sig_atexit()
|
D | builtin-timechart.c | 1730 if (asprintf(&filter, "common_pid != %d", getpid()) < 0) in timechart__io_record()
|
/linux-4.1.27/kernel/ |
D | sys.c | 830 SYSCALL_DEFINE0(getpid) in SYSCALL_DEFINE0() argument
|
/linux-4.1.27/tools/power/x86/turbostat/ |
D | turbostat.c | 1717 cap_header->pid = getpid(); in check_permissions()
|
/linux-4.1.27/tools/perf/util/ |
D | header.c | 411 sprintf(proc, "/proc/%d/exe", getpid()); in write_cmdline()
|
/linux-4.1.27/Documentation/trace/ |
D | ftrace.txt | 1829 s = sprintf(line, "%d\n", getpid());
|
/linux-4.1.27/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 3188 156 usr1_pid(getpid());
|