summaryrefslogtreecommitdiff
path: root/include/linux/trace_seq.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-04-18 00:13:55 +0400
committerSteven Rostedt <rostedt@goodmis.org>2009-04-18 00:21:35 +0400
commit3189cdb31622f4e40688ce5a6fc5d940b42bc805 (patch)
tree89f370c0079281c55f37230c17951514c1b508c9 /include/linux/trace_seq.h
parent261842b7c9099f56de2eb969c8ad65402d68e00e (diff)
downloadlinux-3189cdb31622f4e40688ce5a6fc5d940b42bc805.tar.xz
tracing: protect trace_printk from recursion
trace_printk can be called from any context, including NMIs. If this happens, then we must test for for recursion before grabbing any spinlocks. This patch prevents trace_printk from being called recursively. [ Impact: prevent hard lockup in lockdep event tracer ] Cc: Peter Zijlstra <peterz@infradead.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/trace_seq.h')
0 files changed, 0 insertions, 0 deletions