Re: [patch v4 00/13] branch tracing support for Atom

Jan Kratochvil
2012-11-28T19:01:33Z

On Tue, 27 Nov 2012 19:56:07 +0100, Markus Metzger wrote:
> I hard-coded one page of trace (or, rather, perf_event) buffer per thread.
> We could make this configurable. I have not done this, yet, since I wanted
> to keep the patch series small and simple until I get feedback.

Sorry for not reading the kernel arch code etc. for it but if the buffer is so
small - mostly just catching the last jump to NULL, I would find better if
kernel does not have to trap at all and saves just the last 4 or 16 jumps IIRC
without any performance penalty, is there such an option?

Sure some full buffer recording with virtual backtraces and reverse-* would be
fine but that is probably out of the scope of this initial patchset.

Thanks,
Jan