]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Add selftest to test function trace recursion protection
authorSteven Rostedt <srostedt@redhat.com>
Fri, 20 Jul 2012 17:08:05 +0000 (13:08 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 31 Jul 2012 14:29:54 +0000 (10:29 -0400)
commit328beef1fd468a76ce58d03819819bb103a04588
treebed777e80fb81b28903fe4a64cb90164e499a178
parent4ed4fea4e1e277c742a36f6d265f439f684d76da
ftrace: Add selftest to test function trace recursion protection

Add selftests to test the function tracing recursion protection actually
does work. It also tests if a ftrace_ops states it will perform its own
protection. Although, even if the ftrace_ops states it will protect itself,
the ftrace infrastructure may still provide protection if the arch does
not support all features or another ftrace_ops is registered.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace.h
kernel/trace/ftrace.c
kernel/trace/trace_selftest.c