Home
last modified time | relevance | path

Searched refs:proc_stat (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/arch/um/os-Linux/
Dprocess.c29 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()
/kernel/linux/linux-5.10/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c82 char *proc_stat = "/proc/stat"; variable
1196 fp = fopen_or_die(proc_stat, "r"); in for_all_proc_cpus()
1200 err(1, "%s: failed to parse format", proc_stat); in for_all_proc_cpus()
/kernel/linux/linux-5.10/tools/power/x86/turbostat/
Dturbostat.c37 char *proc_stat = "/proc/stat"; variable
2864 fp = fopen_or_die(proc_stat, "r"); in for_all_proc_cpus()
2868 err(1, "%s: failed to parse format", proc_stat); in for_all_proc_cpus()