Re: [PATCH 06/23] perf: Add perf_output_skip function to skip bytesin sample

From: Frederic Weisbecker
Date: Wed Jun 27 2012 - 11:32:44 EST


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@xxxxxxxxxx>

Acked-by: Frederic Weisbecker <fweisbec@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/