Searched refs:proc (Results 1 - 5 of 5) sorted by relevance

/systemd/src/bootchart/
H A Dstore.h31 int log_sample(DIR *proc,
H A Dbootchart.c306 _cleanup_closedir_ DIR *proc = NULL; local
412 if (proc)
413 rewinddir(proc);
415 proc = opendir("/proc");
417 /* wait for /proc to become available, discarding samples */
418 if (proc) {
419 r = log_sample(proc, samples, ps_first, &sampledata, &pscount, &n_cpus);
H A Dstore.c96 int log_sample(DIR *proc, argument
127 procfd = dirfd(proc);
135 return log_error_errno(errno, "Failed to open /proc/vmstat: %m");
164 /* Parse "/proc/schedstat" for overall CPU utilization */
165 r = read_full_file("/proc/schedstat", &buf_schedstat, NULL);
195 return log_error_errno(errno, "Failed to open /proc/sys/kernel/random/entropy_avail: %m");
207 while ((ent = readdir(proc)) != NULL) {
404 * by parsing "/proc/[pid]/task/[tid]/schedstat" for all [tid] != [pid]
408 /* Browse directory "/proc/[pid]/task" to know the thread ids of process [pid] */
433 /* Parse "/proc/[pi
[all...]
/systemd/src/kernel-install/
H A D90-loaderentry.install50 read -r -d '' -a line < /proc/cmdline
/systemd/test/
H A Dtest-functions441 for d in usr/bin usr/sbin bin etc lib "$libdir" sbin tmp usr var var/log dev proc sys sysroot root run run/lock run/initramfs; do
1020 if ! grep -qe "\<${_modname//-/_}\>" /proc/modules; then
1070 _filtercmd='cut -d " " -f 1 </proc/modules|xargs modinfo -F filename '
1092 cut -d " " -f 1 </proc/modules \
1147 [[ $hostonly ]] && ! grep -qe "\<${_mod//-/_}\>" /proc/modules \

Completed in 11 milliseconds