]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6b09a0a2bc0ae5a66300d6c072dcea33196f2c22
treee1ca3badfc9604199670d049e26871bd69d8932f
parent28c7ef2273be072becd936e3509d37014bb82cda
tracing: Add proper check for irq_depth routines

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>
kernel/trace/trace_functions_graph.c