Re: [PATCH 4/5] perf record: mmap output file - v5

From: Ingo Molnar
Date: Tue Nov 12 2013 - 16:11:33 EST



* David Ahern <dsahern@xxxxxxxxx> wrote:

> > Dunno.. it _should_ all work. Try it and see what it does.. Once the
> > events are bigger than a page things might get 'interesting' though.

Which could be the case with call-graph recording, right?

> one option here is not allow page faults and system wide system calls.
> system wide tracing needs mmap; page faults for a task can use write().
> I left that option in case something like this came up.

So maybe splice() sounds like the right long term solution after all? :-/

Thanks,

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