summaryrefslogtreecommitdiffstats
path: root/net/802
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2012-07-20 19:45:59 +0200
committerSteven Rostedt <rostedt@goodmis.org>2012-07-31 16:29:54 +0200
commitad97772ad82f57c83968079d0880c71ab126ab04 (patch)
treecb011219d1946a23f851f6d5d834003dbeb71b75 /net/802
parentftrace: Add selftest to test function trace recursion protection (diff)
downloadlinux-ad97772ad82f57c83968079d0880c71ab126ab04.tar.xz
linux-ad97772ad82f57c83968079d0880c71ab126ab04.zip
ftrace: Add selftest to test function save-regs support
Add selftests to test the save-regs functionality of ftrace. If the arch supports saving regs, then it will make sure that regs is at least not NULL in the callback. If the arch does not support saving regs, it makes sure that the registering of the ftrace_ops that requests saving regs fails. It then tests the registering of the ftrace_ops succeeds if the 'IF_SUPPORTED' flag is set. Then it makes sure that the regs passed to the function is NULL. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions