On Thu, 2009-04-16 at 13:38 -0400, Steven Rostedt wrote:
wouldn't you want to disable preemption/softirq/irqs in the tracer -- to
avoid such recursion to begin with (preemption isn't even strictly
needed if you put the recursion count in the task struct, as each task
has a new stack anyway).
I think having a recursion detection in place is far more valuable than
being able to recursively trace interrupts and the like, which are
exceedingly rare (on x86, and power and other arch with multiple
interrupt levels that each have their own stack can extend the recursion
levels too).
Hard never stopped us before, did it ;-)
I doubt it, it shouldn't happen as it stands -- so this patch only hides
the real issue.
--