Re: [patch 1/2] x86_64 page fault NMI-safe

Steven Rostedt
2010-07-14T23:40:53Z

[ /me removes the duplicate email of himself! ]

On Wed, 2010-07-14 at 19:11 -0400, Mathieu Desnoyers wrote:
> >
> > So, when an event triggers in perf, we sometimes want to capture the stacktrace
> > that led to the event.
> >
> > We want this stacktrace (here we call that a callchain) to be recorded
> > locklessly. So we want this callchain buffer per cpu, with the following
> > type:
>
> Ah OK, so you mean that perf now has 2 different ring buffer implementations ?
> How about using a single one that is generic enough to handle perf and ftrace
> needs instead ?
>
> (/me runs away quickly before the lightning strikes) ;)
>

To be fair, that's just a temp buffer.

-- Steve

(/me sends this to try to remove the dup email he's getting )