Searched refs:cap_eq (Results 1 – 1 of 1) sorted by relevance
551 char *cap_eq; in perf_env__find_pmu_cap() local560 cap_eq = zalloc(cap_size + 2); in perf_env__find_pmu_cap()561 if (!cap_eq) in perf_env__find_pmu_cap()564 memcpy(cap_eq, cap, cap_size); in perf_env__find_pmu_cap()565 cap_eq[cap_size] = '='; in perf_env__find_pmu_cap()569 if (!strncmp(env->cpu_pmu_caps[i], cap_eq, cap_size + 1)) { in perf_env__find_pmu_cap()570 free(cap_eq); in perf_env__find_pmu_cap()584 if (!strncmp(ptr[j], cap_eq, cap_size + 1)) { in perf_env__find_pmu_cap()585 free(cap_eq); in perf_env__find_pmu_cap()592 free(cap_eq); in perf_env__find_pmu_cap()