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

From: Peter Zijlstra
Date: Wed Nov 13 2013 - 07:16:45 EST


On Wed, Nov 13, 2013 at 12:50:21PM +0100, Ingo Molnar wrote:
>
> * Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> > On Tue, Nov 12, 2013 at 10:11:21PM +0100, Ingo Molnar wrote:
> > >
> > > * 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?
> >
> > Not typically, I think we're limiting call graphs to 127 u64, which is
> > ~1k. Maybe you can blow the single page if you also do a large
> > top-of-stack copy for dwarf/unwind nonsense.
>
> What I meant was dwarf style call graph recording:

Ah, one of those things I've never yet used ;-)

> tools/perf/builtin-record.c: const unsigned long default_stack_dump_size = 8192;
>
> Doesn't that mean 8K+ events?

Oh yes.. that's ideal to trigger this.
--
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/