diff options
author | Steven Rostedt (VMware) <[email protected]> | 2020-11-05 21:32:36 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2020-11-06 08:33:23 -0500 |
commit | 0264c8c9e1b53e9dbb41fae5e54756e84644bc60 (patch) | |
tree | 63d5169796dea5946cdc81a091c57d72e64c1195 /lib/test_overflow.c | |
parent | 645f224e7ba2f4200bf163153d384ceb0de5462e (diff) |
ftrace: Move the recursion testing into global headers
Currently, if a callback is registered to a ftrace function and its
ftrace_ops does not have the RECURSION flag set, it is encapsulated in a
helper function that does the recursion for it.
Really, all the callbacks should have their own recursion protection for
performance reasons. But they should not all implement their own. Move the
recursion helpers to global headers, so that all callbacks can use them.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions