| Date | Wed, 27 Jun 2012 17:32:42 +0200 | From | Frederic Weisbecker <> | Subject | Re: [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>
|