Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1306583

Re: [PATCH net-next] perf/core: Put size of a sample at the end of it by PERF_SAMPLE_TAILSIZE

From Alexei Starovoitov <alexei.starovoitov@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH net-next] perf/core: Put size of a sample at the end of it by PERF_SAMPLE_TAILSIZE
Date 2016-01-11 19:20 +0100
Message-ID <qPPeq-64H-5@gated-at.bofh.it> (permalink)
References <qPKHN-2Wj-51@gated-at.bofh.it> <qPO8H-5nr-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jan 11, 2016 at 06:05:10PM +0100, Daniel Borkmann wrote:
> Hi Wang,
> 
> On 01/11/2016 02:24 PM, Wang Nan wrote:
> >This patch introduces a PERF_SAMPLE_TAILSIZE flag which allows a size
> >field attached at the end of a sample. The idea comes from [1] that,
> >with tie size at tail of an event, it is possible for user program who
> >read from the ring buffer parse events backward.
...
> >Signed-off-by: Wang Nan <wangnan0@huawei.com>
> [...]
> 
> As this seems unrelated to networking, net-next tree seems not really appropriate?

clearly not for net-next.
Wang, see my reply to the same patch in your other thread.

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next] perf/core: Put size of a sample at the end of it by PERF_SAMPLE_TAILSIZE Wang Nan <wangnan0@huawei.com> - 2016-01-11 14:30 +0100
  Re: [PATCH net-next] perf/core: Put size of a sample at the end of  it by PERF_SAMPLE_TAILSIZE Daniel Borkmann <daniel@iogearbox.net> - 2016-01-11 18:10 +0100
    Re: [PATCH net-next] perf/core: Put size of a sample at the end of  it by PERF_SAMPLE_TAILSIZE Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-01-11 19:20 +0100
  Re: [PATCH net-next] perf/core: Put size of a sample at the end of  it by PERF_SAMPLE_TAILSIZE Peter Zijlstra <peterz@infradead.org> - 2016-01-11 19:30 +0100

csiph-web