Home
last modified time | relevance | path

Searched refs:fopen_or_die (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c1092 FILE *fopen_or_die(const char *path, const char *mode) in fopen_or_die() function
1110 fp = fopen_or_die(pathname, "r"); in get_pkg_num()
1155 fp = fopen_or_die(proc_stat, "r"); in for_all_proc_cpus()
/Linux-v5.4/tools/power/x86/turbostat/
Dturbostat.c1669 FILE *fopen_or_die(const char *path, const char *mode) in fopen_or_die() function
1688 fp = fopen_or_die(path, "r"); in snapshot_sysfs_counter()
2649 filep = fopen_or_die(path, "r"); in get_thread_siblings()
2737 fp = fopen_or_die(proc_stat, "r"); in for_all_proc_cpus()
2771 filep = fopen_or_die( in set_max_cpu_num()
2814 fp = fopen_or_die("/proc/interrupts", "r"); in snapshot_proc_interrupts()
2877 fp = fopen_or_die("/sys/class/drm/card0/power/rc6_residency_ms", "r"); in snapshot_gfx_rc6_ms()
2901 fp = fopen_or_die("/sys/class/graphics/fb0/device/drm/card0/gt_cur_freq_mhz", "r"); in snapshot_gfx_mhz()
2927 fp = fopen_or_die("/sys/devices/system/cpu/cpuidle/low_power_idle_cpu_residency_us", "r"); in snapshot_cpu_lpi_us()
2954 fp = fopen_or_die("/sys/devices/system/cpu/cpuidle/low_power_idle_system_residency_us", "r"); in snapshot_sys_lpi_us()
[all …]