Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c82 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/
Dturbostat.c207 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()