Record functions that recurse in function tracing

modulename: trace_recursion_record.ko


Linux Kernel Configuration
└─>Kernel hacking
└─>Record functions that recurse in function tracing
In linux kernel since version 5.2 (release Date: 2019-07-07)  
All callbacks that attach to the function tracing have some sort
of protection against recursion. Even though the protection exists,
it adds overhead. This option will create a file in the tracefs
file system called "recursed_functions" that will list the functions
that triggered a recursion.

This will add more overhead to cases that have recursion.

If unsure, say N

source code: