Searched refs:fopen_or_die (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 1093 FILE *fopen_or_die(const char *path, const char *mode) in fopen_or_die() function 1111 fp = fopen_or_die(pathname, "r"); in get_pkg_num() 1156 fp = fopen_or_die(proc_stat, "r"); in for_all_proc_cpus()
|
/Linux-v4.19/tools/power/x86/turbostat/ |
D | turbostat.c | 1617 FILE *fopen_or_die(const char *path, const char *mode) in fopen_or_die() function 1636 fp = fopen_or_die(path, "r"); in snapshot_sysfs_counter() 2446 filep = fopen_or_die(path, "r"); in parse_int_file() 2554 filep = fopen_or_die(path, "r"); in get_thread_siblings() 2641 fp = fopen_or_die(proc_stat, "r"); in for_all_proc_cpus() 2675 filep = fopen_or_die( in set_max_cpu_num() 2718 fp = fopen_or_die("/proc/interrupts", "r"); in snapshot_proc_interrupts() 2781 fp = fopen_or_die("/sys/class/drm/card0/power/rc6_residency_ms", "r"); in snapshot_gfx_rc6_ms() 2805 fp = fopen_or_die("/sys/class/graphics/fb0/device/drm/card0/gt_cur_freq_mhz", "r"); in snapshot_gfx_mhz() 2831 fp = fopen_or_die("/sys/devices/system/cpu/cpuidle/low_power_idle_cpu_residency_us", "r"); in snapshot_cpu_lpi_us() [all …]
|