Lines Matching refs:handle
96 struct perf_output_handle handle; /* AUX buffer output handle */
442 * measurement alert interrupt fires quick enough to handle
452 * SDBs to handle a higher sampling rate.
705 struct perf_output_handle handle;
718 if (perf_output_begin(&handle, data, event, header.size))
725 perf_output_sample(&handle, &header, data, event);
726 perf_output_end(&handle);
768 * Since the CPU Measurement sampling facility can not handle frequency
1423 static void aux_output_end(struct perf_output_handle *handle)
1429 aux = perf_get_aux(handle);
1440 perf_aux_output_end(handle, i << PAGE_SHIFT);
1459 static int aux_output_begin(struct perf_output_handle *handle,
1466 if (WARN_ON_ONCE(handle->head & ~PAGE_MASK))
1469 aux->head = handle->head >> PAGE_SHIFT;
1470 range = (handle->size + 1) >> PAGE_SHIFT;
1641 struct perf_output_handle *handle = &cpuhw->handle;
1644 aux = perf_get_aux(handle);
1652 perf_aux_output_end(handle, size);
1656 /* Get an output handle */
1657 aux = perf_aux_output_begin(handle, cpuhw->event);
1658 if (handle->size == 0) {
1668 aux->head = handle->head >> PAGE_SHIFT;
1669 range = (handle->size + 1) >> PAGE_SHIFT;
1681 perf_aux_output_end(&cpuhw->handle, size);
1689 perf_aux_output_end(&cpuhw->handle, size);
1973 aux = perf_aux_output_begin(&cpuhw->handle, event);
1978 err = aux_output_begin(&cpuhw->handle, aux, cpuhw);
2010 aux_output_end(&cpuhw->handle);