Home
last modified time | relevance | path

Searched refs:getpid (Results 1 – 49 of 49) sorted by relevance

/linux-4.1.27/tools/perf/tests/
Dkeep-tracking.c35 (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()
Ddwarf-unwind.c28 pid_t pid = getpid(); in init_live_machine()
166 thread = machine__find_thread(machine, getpid(), getpid()); in test__dwarf_unwind()
Dperf-time-to-tsc.c60 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()
Dmmap-thread-lookup.c140 map = thread_map__new_by_pid(getpid()); in synth_process()
186 thread = machine__findnew_thread(machine, getpid(), td->tid); in mmap_events()
Dopen-syscall.c11 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); in test__open_syscall_event()
Dswitch-tracking.c66 (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()
Dsw-clock.c54 evlist->threads = thread_map__new_by_tid(getpid()); in __test__sw_clock_freq()
Dbp_signal_overflow.c104 fcntl(fd, F_SETOWN, getpid()); in test__bp_signal_overflow()
Dopen-syscall-tp-fields.c48 evlist->threads->map[0] = getpid(); in test__syscall_open_tp_fields()
Dopen-syscall-all-cpus.c14 struct thread_map *threads = thread_map__new(-1, getpid(), UINT_MAX); in test__open_syscall_event_on_all_cpus()
Dbp_signal.c92 fcntl(fd, F_SETOWN, getpid()); in bp_event()
Dmmap-basic.c36 threads = thread_map__new(-1, getpid(), UINT_MAX); in test__basic_mmap()
Dbuiltin-test.c214 pr_debug("test child forked, pid %d\n", getpid()); in run_test()
Dcode-reading.c411 pid = getpid(); in do_test_code_reading()
/linux-4.1.27/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.h77 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/
Dkcmp_test.c35 pid1 = getpid(); in main()
49 int pid2 = getpid(); in main()
/linux-4.1.27/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c139 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/
Dhv_vss_daemon.c155 nlh.nlmsg_pid = getpid(); in netlink_send()
218 syslog(LOG_INFO, "VSS starting; pid is:%d", getpid()); in main()
Dhv_fcopy_daemon.c166 syslog(LOG_INFO, "HV_FCOPY starting; pid is:%d", getpid()); in main()
Dhv_kvp_daemon.c126 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/
Dsystem.c96 if (sched_setaffinity(getpid(), sizeof(cpu_set_t), &cpuset) < 0) { in set_cpu_affinity()
/linux-4.1.27/arch/um/os-Linux/
Dutil.c93 if (kill(getpid(), SIGABRT) < 0) in uml_abort()
Dumid.c224 snprintf(pid, sizeof(pid), "%d\n", getpid()); in create_pid_file()
/linux-4.1.27/Documentation/accounting/
Dgetdelays.c175 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/
Dfutex-wake.c140 getpid(), nthreads, fshared ? "shared":"private", &futex1, nwakes); in bench_futex_wake()
Dfutex-requeue.c139 "%d at a time.\n\n", getpid(), nthreads, in bench_futex_requeue()
Dfutex-hash.c142 getpid(), nthreads, nfutexes, fshared ? "shared":"private", nsecs); in bench_futex_hash()
Dmem-memcpy.c92 cycle_fd = sys_perf_event_open(&cycle_attr, getpid(), -1, -1, in init_cycle()
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/
Dlib.c167 printf("main test running as pid %d\n", getpid()); in eat_cpu()
/linux-4.1.27/Documentation/connector/
Ducon.c72 nlh->nlmsg_pid = getpid(); in netlink_send()
/linux-4.1.27/tools/net/
Dbpf_jit_disasm.c34 snprintf(tpath, size, "/proc/%d/exe", (int) getpid()); in get_exec_path()
/linux-4.1.27/tools/virtio/
Dvringh_test.c100 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/
Dhpet_example.c250 if ((fcntl(fd, F_SETOWN, getpid()) == 1) || in hpet_fasync()
/linux-4.1.27/tools/usb/usbip/src/
Dusbipd.c471 fprintf(fp, "%d\n", getpid()); in write_pid_file()
/linux-4.1.27/arch/parisc/kernel/
Dsyscall_table.S80 ENTRY_SAME(getpid) /* 20 */
/linux-4.1.27/arch/powerpc/include/asm/
Dsystbl.h26 SYSCALL_SPU(getpid)
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_64.tbl48 39 common getpid sys_getpid
Dsyscall_32.tbl29 20 i386 getpid sys_getpid
/linux-4.1.27/Documentation/networking/
Dpacket_mmap.txt683 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/
Dconfdata.c776 sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); in conf_write()
/linux-4.1.27/Documentation/ia64/
Dfsys.txt86 of the getpid() system call.
/linux-4.1.27/tools/perf/
Dbuiltin-trace.c2233 err = perf_evlist__set_filter_pid(evlist, getpid()); in trace__run()
2576 trace->filter_pids.entries[0] = getpid(); in trace__set_filter_pids()
Dbuiltin-stat.c1503 kill(getpid(), signr); in sig_atexit()
Dbuiltin-timechart.c1730 if (asprintf(&filter, "common_pid != %d", getpid()) < 0) in timechart__io_record()
/linux-4.1.27/kernel/
Dsys.c830 SYSCALL_DEFINE0(getpid) in SYSCALL_DEFINE0() argument
/linux-4.1.27/tools/power/x86/turbostat/
Dturbostat.c1717 cap_header->pid = getpid(); in check_permissions()
/linux-4.1.27/tools/perf/util/
Dheader.c411 sprintf(proc, "/proc/%d/exe", getpid()); in write_cmdline()
/linux-4.1.27/Documentation/trace/
Dftrace.txt1829 s = sprintf(line, "%d\n", getpid());
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt3188 156 usr1_pid(getpid());