Searched refs:proc_stat (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/arch/um/os-Linux/ |
D | process.c | 29 char proc_stat[STAT_PATH_LEN], buf[256]; in os_process_pc() local 33 sprintf(proc_stat, "/proc/%d/stat", pid); in os_process_pc() 34 fd = open(proc_stat, O_RDONLY, 0); in os_process_pc() 37 "errno = %d\n", proc_stat, errno); in os_process_pc() 43 "err = %d\n", proc_stat, errno); in os_process_pc()
|
/linux-6.1.9/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 82 char *proc_stat = "/proc/stat"; variable 1285 fp = fopen_or_die(proc_stat, "r"); in for_all_proc_cpus() 1289 err(1, "%s: failed to parse format", proc_stat); in for_all_proc_cpus()
|
/linux-6.1.9/tools/power/x86/turbostat/ |
D | turbostat.c | 207 char *proc_stat = "/proc/stat"; variable 3032 fp = fopen_or_die(proc_stat, "r"); in for_all_proc_cpus() 3036 err(1, "%s: failed to parse format", proc_stat); in for_all_proc_cpus()
|