Re: [tip:perf/core] perf_events: Undo some recursion damage

Frederic Weisbecker
2009-11-23T12:39:35Z

On Mon, Nov 23, 2009 at 11:55:08AM +0000, tip-bot for Peter Zijlstra wrote:
> Commit-ID: 4ed7c92d68a5387ba5f7030dc76eab03558e27f5
> Gitweb: http://git.kernel.org/tip/4ed7c92d68a5387ba5f7030dc76eab03558e27f5
> Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
> AuthorDate: Mon, 23 Nov 2009 11:37:29 +0100
> Committer: Ingo Molnar <mingo@elte.hu>
> CommitDate: Mon, 23 Nov 2009 11:49:57 +0100
>
> perf_events: Undo some recursion damage
>
> Make perf_swevent_get_recursion_context return a context number
> and disable preemption.
>
> This could be used to remove the IRQ disable from the trace bit
> and index the per-cpu buffer with.

But if I do that, it means I will lose traces once irq nest.