Lines Matching refs:handle
243 struct perf_output_handle *handle = &ctrl->handle; in hisi_ptt_update_aux() local
244 struct perf_event *event = handle->event; in hisi_ptt_update_aux()
249 buf = perf_get_aux(handle); in hisi_ptt_update_aux()
250 if (!buf || !handle->size) in hisi_ptt_update_aux()
278 perf_aux_output_end(handle, buf->pos); in hisi_ptt_update_aux()
280 perf_aux_output_end(handle, buf->pos); in hisi_ptt_update_aux()
282 buf = perf_aux_output_begin(handle, event); in hisi_ptt_update_aux()
286 buf->pos = handle->head % buf->length; in hisi_ptt_update_aux()
288 perf_aux_output_end(handle, 0); in hisi_ptt_update_aux()
1082 struct perf_output_handle *handle = &hisi_ptt->trace_ctrl.handle; in hisi_ptt_pmu_start() local
1110 buf = perf_aux_output_begin(handle, event); in hisi_ptt_pmu_start()
1116 buf->pos = handle->head % buf->length; in hisi_ptt_pmu_start()
1123 perf_aux_output_end(handle, 0); in hisi_ptt_pmu_start()