[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120627153229.GK20638@somewhere.redhat.com>
Date: Wed, 27 Jun 2012 17:32:42 +0200
From: Frederic Weisbecker <fweisbec@...il.com>
To: Jiri Olsa <jolsa@...hat.com>
Cc: acme@...hat.com, a.p.zijlstra@...llo.nl, mingo@...e.hu,
paulus@...ba.org, cjashfor@...ux.vnet.ibm.com, eranian@...gle.com,
gorcunov@...nvz.org, tzanussi@...il.com, mhiramat@...hat.com,
robert.richter@....com, fche@...hat.com,
linux-kernel@...r.kernel.org, masami.hiramatsu.pt@...achi.com,
drepper@...il.com, asharma@...com, benjamin.redelings@...cent.org
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@...hat.com>
Acked-by: Frederic Weisbecker <fweisbec@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists