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

From: Frederic Weisbecker
Date: Mon Nov 23 2009 - 07:39:45 EST


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@xxxxxxxxx>
> AuthorDate: Mon, 23 Nov 2009 11:37:29 +0100
> Committer: Ingo Molnar <mingo@xxxxxxx>
> 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.

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