Searched refs:proc (Results 1 - 5 of 5) sorted by relevance
/systemd/src/bootchart/ |
H A D | store.h | 31 int log_sample(DIR *proc,
|
H A D | bootchart.c | 306 _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 D | store.c | 96 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 D | 90-loaderentry.install | 50 read -r -d '' -a line < /proc/cmdline
|
/systemd/test/ |
H A D | test-functions | 441 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 1302 milliseconds