Lines Matching refs:valid_pmcs
51 extern char **valid_pmcs;
52 char **valid_pmcs = NULL; variable
2496 if (valid_pmcs == NULL) { in get_cpuid_set()
2500 valid_pmcs = malloc(sz); in get_cpuid_set()
2501 if (valid_pmcs == NULL) { in get_cpuid_set()
2505 memset(valid_pmcs, 0, sz); in get_cpuid_set()
2520 valid_pmcs[valid_pmc_cnt] = malloc(len); in get_cpuid_set()
2521 if (valid_pmcs[valid_pmc_cnt] == NULL) { in get_cpuid_set()
2525 memset(valid_pmcs[valid_pmc_cnt], 0, len); in get_cpuid_set()
2526 strcpy(valid_pmcs[valid_pmc_cnt], str); in get_cpuid_set()
2539 memcpy(more, valid_pmcs, sz); in get_cpuid_set()
2541 free(valid_pmcs); in get_cpuid_set()
2542 valid_pmcs = more; in get_cpuid_set()
2779 lenout = printf("%s", valid_pmcs[i]); in run_tests()
2781 test_for_a_pmc(valid_pmcs[i], lenout); in run_tests()
2791 cnt = printf("%s", valid_pmcs[i]); in list_all()