tracing: Add proper check for irq_depth routines
authorJiri Olsa <jolsa@redhat.com>
Fri, 24 Sep 2010 15:41:02 +0000 (17:41 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 18 Oct 2010 14:53:25 +0000 (10:53 -0400)
The check_irq_entry and check_irq_return could be called
from graph event context. In such case there's no graph
private data allocated. Adding checks to handle this case.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
LKML-Reference: <20100924154102.GB1818@jolsa.brq.redhat.com>

[ Fixed some grammar in the comments ]

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found