tracing: fix recursive test level calculation
commit17487bfeb6cfb05920e6a9d5a54f345f2917b4e7
authorSteven Rostedt <srostedt@redhat.com>
Mon, 20 Apr 2009 17:24:21 +0000 (20 13:24 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 20 Apr 2009 17:24:21 +0000 (20 13:24 -0400)
tree23064df0a7814788823484098450cb2924ff9a34
parent23de29de2d8b227943be191d59fb6d983996d55e
tracing: fix recursive test level calculation

The recursive tests to detect same level recursion in the ring buffers
did not account for the hard/softirq_counts to be shifted. Thus the
numbers could be larger than then mask to be tested.

This patch includes the shift for the calculation of the irq depth.

[ Impact: stop false positives in trace recursion detection ]

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer.c