On Wed, Jun 25, 2014 at 02:24:51PM +0300, Alexander Shishkin wrote:
> Peter Zijlstra writes:
>
> > On Wed, Jun 11, 2014 at 06:41:49PM +0300, Alexander Shishkin wrote:
> >> +void perf_aux_output_end(struct perf_output_handle *handle, unsigned long
> >> size,
> >> + bool truncate
Peter Zijlstra writes:
> On Wed, Jun 11, 2014 at 06:41:49PM +0300, Alexander Shishkin wrote:
>> +void perf_aux_output_end(struct perf_output_handle *handle, unsigned long
>> size,
>> + bool truncated)
>> +{
>> +struct ring_buffer *rb = handle->rb;
>> +unsigned long au
On Wed, Jun 11, 2014 at 06:41:49PM +0300, Alexander Shishkin wrote:
> +void perf_aux_output_end(struct perf_output_handle *handle, unsigned long
> size,
> + bool truncated)
> +{
> + struct ring_buffer *rb = handle->rb;
> + unsigned long aux_head;
> +
> + aux_head =
For pmus that wish to write data to AUX space, provide
perf_aux_output_{begin,end}() calls to initiate/commit data writes,
similarly to perf_output_{begin,end}. These also use the same output
handle structure.
After the perf_aux_output_begin() returns successfully, handle->size
is set to the maxim
4 matches
Mail list logo