diff options
author | 2020-11-05 21:32:37 -0500 | |
---|---|---|
committer | 2020-11-06 08:33:23 -0500 | |
commit | 6e4eb9cb22fc8a893cb708ed42644de5ee7c3827 (patch) | |
tree | 5aa13b98aa6b7659a8c711eac36cc1180656f424 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ftrace: Move the recursion testing into global headers (diff) | |
download | linux-dev-6e4eb9cb22fc8a893cb708ed42644de5ee7c3827.tar.xz linux-dev-6e4eb9cb22fc8a893cb708ed42644de5ee7c3827.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions