Home
last modified time | relevance | path

Searched refs:nr_ptts (Results 1 – 1 of 1) sorted by relevance

/linux/tools/perf/arch/arm/util/
H A Dauxtrace.c57 static struct perf_pmu **find_all_hisi_ptt_pmus(int *nr_ptts, int *err) in find_all_hisi_ptt_pmus() argument
75 (*nr_ptts)++; in find_all_hisi_ptt_pmus()
78 if (!(*nr_ptts)) in find_all_hisi_ptt_pmus()
81 hisi_ptt_pmus = zalloc(sizeof(struct perf_pmu *) * (*nr_ptts)); in find_all_hisi_ptt_pmus()
90 if (strstr(dent->d_name, HISI_PTT_PMU_NAME) && idx < *nr_ptts) { in find_all_hisi_ptt_pmus()
130 int nr_ptts = 0; in auxtrace_record__init() local
137 hisi_ptt_pmus = find_all_hisi_ptt_pmus(&nr_ptts, err); in auxtrace_record__init()
147 found_ptt = find_pmu_for_event(hisi_ptt_pmus, nr_ptts, evsel); in auxtrace_record__init()