Lines Matching refs:pttr
48 struct hisi_ptt_recording *pttr = in hisi_ptt_info_fill() local
50 struct perf_pmu *hisi_ptt_pmu = pttr->hisi_ptt_pmu; in hisi_ptt_info_fill()
100 struct hisi_ptt_recording *pttr = in hisi_ptt_recording_options() local
102 struct perf_pmu *hisi_ptt_pmu = pttr->hisi_ptt_pmu; in hisi_ptt_recording_options()
107 pttr->evlist = evlist; in hisi_ptt_recording_options()
154 struct hisi_ptt_recording *pttr = in hisi_ptt_recording_free() local
157 free(pttr); in hisi_ptt_recording_free()
163 struct hisi_ptt_recording *pttr; in hisi_ptt_recording_init() local
170 pttr = zalloc(sizeof(*pttr)); in hisi_ptt_recording_init()
171 if (!pttr) { in hisi_ptt_recording_init()
176 pttr->hisi_ptt_pmu = hisi_ptt_pmu; in hisi_ptt_recording_init()
177 pttr->itr.pmu = hisi_ptt_pmu; in hisi_ptt_recording_init()
178 pttr->itr.recording_options = hisi_ptt_recording_options; in hisi_ptt_recording_init()
179 pttr->itr.info_priv_size = hisi_ptt_info_priv_size; in hisi_ptt_recording_init()
180 pttr->itr.info_fill = hisi_ptt_info_fill; in hisi_ptt_recording_init()
181 pttr->itr.free = hisi_ptt_recording_free; in hisi_ptt_recording_init()
182 pttr->itr.reference = hisi_ptt_reference; in hisi_ptt_recording_init()
183 pttr->itr.read_finish = auxtrace_record__read_finish; in hisi_ptt_recording_init()
184 pttr->itr.alignment = 0; in hisi_ptt_recording_init()
187 return &pttr->itr; in hisi_ptt_recording_init()