lkml.org 
[lkml]   [2012]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 06/23] perf: Add perf_output_skip function to skip bytes in sample
On Tue, Jun 19, 2012 at 05:47:57PM +0200, Jiri Olsa wrote:
> Introducing perf_output_skip function to be able to skip
> data within the perf ring buffer.
>
> When writing data into perf ring buffer we first reserve needed
> place in ring buffer and then copy the actual data.
>
> There's a possibility we won't be able to fill all the reserved
> size with data, so we need a way to skip the remaining bytes.
>
> This is going to be usefull when storing the user stack dump,
> where we might end up with less data than we originally requested.
>
> Signed-off-by: Jiri Olsa <jolsa@redhat.com>

Acked-by: Frederic Weisbecker <fweisbec@gmail.com>


\
 
 \ /
  Last update: 2012-06-27 18:01    [W:0.167 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site