diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-11-06 05:32:37 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-11-06 16:33:23 +0300 |
commit | 6e4eb9cb22fc8a893cb708ed42644de5ee7c3827 (patch) | |
tree | 5aa13b98aa6b7659a8c711eac36cc1180656f424 /fs/pstore | |
parent | 0264c8c9e1b53e9dbb41fae5e54756e84644bc60 (diff) | |
download | linux-6e4eb9cb22fc8a893cb708ed42644de5ee7c3827.tar.xz |
ftrace: Add ftrace_test_recursion_trylock() helper function
To make it easier for ftrace callbacks to have recursion protection, provide
a ftrace_test_recursion_trylock() and ftrace_test_recursion_unlock() helper
that tests for recursion.
Link: https://lkml.kernel.org/r/20201028115612.634927593@goodmis.org
Link: https://lkml.kernel.org/r/20201106023546.378584067@goodmis.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'fs/pstore')
0 files changed, 0 insertions, 0 deletions