Home
last modified time | relevance | path

Searched refs:pid (Results 351 – 375 of 2194) sorted by relevance

1...<<11121314151617181920>>...88

/openbmc/linux/tools/include/nolibc/
H A Dsys.h387 pid_t sys_getpgid(pid_t pid) in sys_getpgid() argument
389 return my_syscall1(__NR_getpgid, pid); in sys_getpgid()
393 pid_t getpgid(pid_t pid) in getpgid() argument
395 return __sysret(sys_getpgid(pid)); in getpgid()
542 int sys_kill(pid_t pid, int signal) in sys_kill() argument
544 return my_syscall2(__NR_kill, pid, signal); in sys_kill()
548 int kill(pid_t pid, int signal) in kill() argument
550 return __sysret(sys_kill(pid, signal)); in kill()
953 int sys_setpgid(pid_t pid, pid_t pgid) in sys_setpgid() argument
959 int setpgid(pid_t pid, pid_t pgid) in setpgid() argument
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/plymouth/plymouth/
H A D0001-plymouth-start-service-in-add-related-kernel-paramet.patch24 -ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --pid-file=@plymouthruntimedir@/pid --attach…
25 …nel-command-line="splash plymouth.ignore-serial-consoles" --pid-file=@plymouthruntimedir@/pid --at…
/openbmc/qemu/util/
H A Dsystemd.c22 unsigned long pid; in check_socket_activation() local
33 err = qemu_strtoul(s, NULL, 10, &pid); in check_socket_activation()
37 if (pid != getpid()) { in check_socket_activation()
/openbmc/linux/tools/testing/selftests/drivers/net/dsa/
H A Dtest_bridge_fdb_stress.sh26 kill $pid && wait $pid &> /dev/null
41 pid=$!
/openbmc/linux/Documentation/accounting/
H A Dtaskstats.rst18 "pid", "tid" and "task" are used interchangeably and refer to the standard
19 Linux task defined by struct task_struct. per-pid stats are the same as
37 one of the cpus in the cpumask, its per-pid statistics are sent to the
44 The latter contains the sum of per-pid stats for all threads in the thread
62 struct taskstats is the common accounting structure for both per-pid and
79 a pid/tgid consist of one attribute, of type TASKSTATS_CMD_ATTR_PID/TGID,
80 containing a u32 pid or tgid in the attribute payload. The pid/tgid denotes
97 a pid/tgid will be followed by some stats.
103 same structure is used for both per-pid and per-tgid stats.
109 b) TASKSTATS_TYPE_PID: contains exiting task's pid
[all …]
/openbmc/openbmc/poky/meta/recipes-graphics/x11-common/xserver-nodm-init/
H A Dxserver-nodm12 pid=`/bin/pidof $1`
13 [ "$pid" != "" ] && kill $pid
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-phosphor/fans/
H A Dphosphor-pid-control_%.bbappend4 FILES:${PN}:append = " ${systemd_system_unitdir}/phosphor-pid-control.service.d/*.conf"
8 override_dir="${D}${systemd_system_unitdir}/phosphor-pid-control.service.d"
10 mkdir -p ${D}${systemd_system_unitdir}/phosphor-pid-control.service.d
/openbmc/openbmc/meta-nuvoton/meta-evb-npcm845/recipes-phosphor/fans/
H A Dphosphor-pid-control_%.bbappend5 file://phosphor-pid-control.service \
11 SYSTEMD_SERVICE:${PN}:append = " phosphor-pid-control.service"
19 install -m 0644 ${WORKDIR}/phosphor-pid-control.service \
/openbmc/qemu/tests/tcg/multiarch/
H A Dfollow-fork-mode.c23 pid_t child, pid; in main() local
48 pid = waitpid(child, &status, 0); in main()
49 assert(pid == child); in main()
/openbmc/linux/include/trace/events/
H A Dsignal.h62 __field( pid_t, pid )
71 __entry->pid = task->pid;
78 __entry->comm, __entry->pid, __entry->group,
/openbmc/linux/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-context-chk-vmx.c36 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
104 pid_t pid = getpid(); in tm_signal_context_chk() local
125 rc = tm_signal_self_context_load(pid, NULL, NULL, vms, NULL); in tm_signal_context_chk()
126 FAIL_IF(rc != pid); in tm_signal_context_chk()
/openbmc/linux/Documentation/ABI/stable/
H A Dprocfs-audit_loginuid7 The /proc/$pid/loginuid pseudofile is written to set and
8 read to get the audit login UID of process $pid as a
23 The /proc/$pid/sessionid pseudofile is read to get the
24 audit login session ID of process $pid as a decimal
/openbmc/linux/tools/lib/perf/
H A Dthreadmap.c35 void perf_thread_map__set_pid(struct perf_thread_map *map, int idx, pid_t pid) in perf_thread_map__set_pid() argument
37 map->map[idx].pid = pid; in perf_thread_map__set_pid()
100 return map->map[idx].pid; in perf_thread_map__pid()
/openbmc/linux/Documentation/translations/zh_CN/accounting/
H A Ddelay-accounting.rst40 向用户态返回一个通用数据结构,对应每pid或每tgid的统计信息。延时计数功能填写
78 getdelays [-dilv] [-t tgid] [-p pid]
80 获取pid为10的任务从系统启动后的延时信息::
107 获取pid为1的IO计数,它只和-p一起使用::
/openbmc/linux/Documentation/ABI/testing/
H A Dprocfs-smaps_rollup1 What: /proc/pid/smaps_rollup
6 process. The format is almost identical to /proc/pid/smaps,
10 fields from all the maps in /proc/pid/smaps.
12 are not present in /proc/pid/smaps. These fields represent
/openbmc/linux/tools/perf/util/
H A Dnamespaces.c154 struct nsinfo *nsinfo__new(pid_t pid) in nsinfo__new() argument
158 if (pid == 0) in nsinfo__new()
165 RC_CHK_ACCESS(nsi)->pid = pid; in nsinfo__new()
166 RC_CHK_ACCESS(nsi)->tgid = pid; in nsinfo__new()
167 RC_CHK_ACCESS(nsi)->nstgid = pid; in nsinfo__new()
196 RC_CHK_ACCESS(nnsi)->pid = nsinfo__pid(nsi); in nsinfo__copy()
266 return RC_CHK_ACCESS(nsi)->pid; in nsinfo__pid()
/openbmc/linux/fs/proc/
H A Dbase.c387 struct pid *pid, struct task_struct *task) in proc_pid_wchan() argument
429 struct pid *pid, struct task_struct *task) in proc_pid_stack() argument
769 struct pid *pid = proc_pid(inode); in proc_single_show() local
1877 struct pid *pid = ei->pid; in proc_pid_evict_inode() local
1893 struct pid *pid; in proc_pid_make_inode() local
1916 ei->pid = pid; in proc_pid_make_inode()
1946 struct pid *pid; in proc_pid_make_base_inode() local
1954 pid = ei->pid; in proc_pid_make_base_inode()
2445 struct pid *pid; member
3410 void proc_flush_pid(struct pid *pid) in proc_flush_pid() argument
[all …]
/openbmc/linux/tools/perf/trace/beauty/
H A Dkcmp.c20 pid_t pid; in syscall_arg__scnprintf_kcmp_idx() local
25 pid = syscall_arg__val(arg, arg->idx == 3 ? 0 : 1); /* idx1 -> pid1, idx2 -> pid2 */ in syscall_arg__scnprintf_kcmp_idx()
26 return pid__scnprintf_fd(arg->trace, pid, fd, bf, size); in syscall_arg__scnprintf_kcmp_idx()
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c24 pid_t pid; member
266 pid_t pid = spawn_child(&children[i]); in run_cpucg_weight_test() local
267 if (pid <= 0) in run_cpucg_weight_test()
269 children[i].pid = pid; in run_cpucg_weight_test()
275 waitpid(children[i].pid, &retcode, 0); in run_cpucg_weight_test()
465 pid_t pid; in run_cpucg_nested_weight_test() local
475 pid = cg_run_nowait(leaf[i].cgroup, hog_cpus_timed, in run_cpucg_nested_weight_test()
477 if (pid <= 0) in run_cpucg_nested_weight_test()
479 leaf[i].pid = pid; in run_cpucg_nested_weight_test()
485 waitpid(leaf[i].pid, &retcode, 0); in run_cpucg_nested_weight_test()
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_fintek.c96 u16 pid; member
168 pdata->pid = chip; in fintek_8250_check_id()
175 switch (pdata->pid) { in fintek_8250_get_ldn_range()
239 switch (pdata->pid) { in fintek_8250_set_irq_mode()
265 switch (pdata->pid) { in fintek_8250_set_max_fifo()
299 switch (pdata->pid) { in fintek_8250_set_termios()
311 __func__, pdata->pid); in fintek_8250_set_termios()
348 switch (pdata->pid) { in fintek_8250_set_termios_handler()
428 switch (pdata->pid) { in fintek_8250_set_rs485_handler()
/openbmc/linux/tools/testing/selftests/resctrl/
H A Dresctrlfs.c344 static int write_pid_to_tasks(char *tasks, pid_t pid) in write_pid_to_tasks() argument
354 if (fprintf(fp, "%d\n", pid) < 0) { in write_pid_to_tasks()
604 pid_t pid; in filter_dmesg() local
613 pid = fork(); in filter_dmesg()
614 if (pid == 0) { in filter_dmesg()
625 kill(pid, SIGTERM); in filter_dmesg()
637 waitpid(pid, NULL, 0); in filter_dmesg()
660 int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu, in perf_event_open() argument
665 ret = syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Doe_syslog.py28 for pid in pids:
29 status, err_output = self.target.run('kill -0 %s' %pid)
31 self.logger.debug("previous %s is still running" %pid)
37 status, pid = self.target.run('pidof %s' %name)
41 pids.append(pid)
/openbmc/openbmc/poky/meta/recipes-devtools/rpm/files/
H A D0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch41 } else if (pid == 0) {/* Child */
42 - rpmlog(RPMLOG_DEBUG, "%s: execv(%s) pid %d\n",
43 + rpmlog(RPMLOG_INFO, "%s: execv(%s) pid %d\n",
48 reaped = waitpid(pid, &status, 0);
53 sname, (unsigned)pid, (unsigned)reaped, status);
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/rp-pppoe/rp-pppoe/
H A Dpppoe-server.init42 pid=$(pidof pppoe-server)
43 if [ -n "$pid" ] ; then
44 echo "Running with pid $pid"
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/
H A Dmetric.cpp117 int pid = -1; in getProcStatMetric() local
118 if (isNumericPath(path, pid)) in getProcStatMetric()
124 entry.cmdline = getCmdLine(pid); in getProcStatMetric()
125 TcommUtimeStime t = getTcommUtimeStime(pid, ticksPerSec); in getProcStatMetric()
204 int getFdCount(int pid) in getFdCount() argument
206 const std::string& fdPath = "/proc/" + std::to_string(pid) + "/fd"; in getFdCount()
245 int pid = 0; in getFdStatMetric() local
247 if (isNumericPath(path, pid)) in getFdStatMetric()
251 entry.fdCount = getFdCount(pid); in getFdStatMetric()
252 TcommUtimeStime t = getTcommUtimeStime(pid, ticksPerSec); in getFdStatMetric()
[all …]

1...<<11121314151617181920>>...88