From: Steven Rostedt Date: Tue, 14 Jun 2011 23:02:29 +0000 (-0400) Subject: tracing: Still trace filtered irq functions when irq trace is disabled X-Git-Tag: v3.1-rc1~299^2~10^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4a3f541f0b67fdad98b326c851dfe7f4b6b6dad;p=pandora-kernel.git tracing: Still trace filtered irq functions when irq trace is disabled If a function is set to be traced by the set_graph_function, but the option funcgraph-irqs is zero, and the traced function happens to be called from a interrupt, it will not be traced. The point of funcgraph-irqs is to not trace interrupts when we are preempted by an irq, not to not trace functions we want to trace that happen to be *in* a irq. Luckily the current->trace_recursion element is perfect to add a flag to help us be able to trace functions within an interrupt even when we are not tracing interrupts that preempt the trace. Reported-by: Heiko Carstens Tested-by: Heiko Carstens Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed