Searched refs:path_format (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/power/x86/turbostat/ |
D | turbostat.c | 4011 const char *const path_format = "/sys/bus/event_source/devices/%s/type"; in read_perf_type() local 4015 snprintf(path, sizeof(path), path_format, subsys); in read_perf_type() 4022 const char *const path_format = "/sys/bus/event_source/devices/%s/events/%s"; in read_perf_config() local 4032 snprintf(path, sizeof(path), path_format, subsys, event_name); in read_perf_config() 4073 const char *const path_format = "/sys/bus/event_source/devices/%s/events/%s.unit"; in read_perf_rapl_unit() local 4078 snprintf(path, sizeof(path), path_format, subsys, event_name); in read_perf_rapl_unit() 4089 const char *const path_format = "/sys/bus/event_source/devices/%s/events/%s.scale"; in read_perf_scale() local 4094 snprintf(path, sizeof(path), path_format, subsys, event_name); in read_perf_scale()
|