summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2012-07-20 13:45:59 -0400
committerSteven Rostedt <rostedt@goodmis.org>2012-07-31 10:29:54 -0400
commitad97772ad82f57c83968079d0880c71ab126ab04 (patch)
treecb011219d1946a23f851f6d5d834003dbeb71b75 /include
parentea701f11da44b44907af226fe5a5f57d2f26eeb2 (diff)
downloadtalos-obmc-linux-ad97772ad82f57c83968079d0880c71ab126ab04.tar.gz
talos-obmc-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 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud