Searched refs:cas_count_cfg (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/testing/selftests/resctrl/ |
D | resctrl_val.c | 81 void get_event_and_umask(char *cas_count_cfg, int count, bool op) in get_event_and_umask() argument 86 strcat(cas_count_cfg, ","); in get_event_and_umask() 87 token[0] = strtok(cas_count_cfg, "=,"); in get_event_and_umask() 133 char cas_count_cfg[1024], imc_counter_cfg[1024], imc_counter_type[1024]; in read_from_imc_dir() local 163 if (fscanf(fp, "%s", cas_count_cfg) <= 0) { in read_from_imc_dir() 171 get_event_and_umask(cas_count_cfg, count, READ); in read_from_imc_dir() 181 if (fscanf(fp, "%s", cas_count_cfg) <= 0) { in read_from_imc_dir() 189 get_event_and_umask(cas_count_cfg, count, WRITE); in read_from_imc_dir()
|