Re: Perf and ftrace [was Re: PyTimechart]

From: Peter Zijlstra
Date: Wed May 12 2010 - 15:01:29 EST


On Wed, 2010-05-12 at 14:51 -0400, Mathieu Desnoyers wrote:
>
> It makes it hard to use splice() or read() if you don't specify the buffer size
> at creation time. That alone seems like a pretty good argument for fixing the
> size before the mmap() call.

Our read() doesn't actually provide the same data splice()/mmap() would.
But yeah, hence my proposal to create a separate syscall that creates
buffer objects.

--
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/