static unsigned int read_perf_counter_info(const char *const path, const char *const parse_format)
static int read_perf_counter_info(const char *const path, const char *const parse_format, void *value_ptr)