Searched defs:proc (Results 1 - 2 of 2) sorted by relevance
/systemd/src/bootchart/ |
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...] |
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);
|
Completed in 14 milliseconds