Kernel Function Graph Tracer
modulename: ftrace.ko
and/orfgraph.ko
and/ortrace_functions_graph.ko
configname: CONFIG_FUNCTION_GRAPH_TRACER
Linux Kernel Configuration
└─>Tracers
└─>Kernel Function Graph Tracer
In linux kernel since version 2.6.29 (release Date: 2009-03-23)
Enable the kernel to trace a function at both its return
and its entry.
It's first purpose is to trace the duration of functions and
draw a call graph for each thread with some informations like
the return value.
This is done by setting the current return address on the current
task structure into a stack of calls.
and its entry.
It's first purpose is to trace the duration of functions and
draw a call graph for each thread with some informations like
the return value.
This is done by setting the current return address on the current
task structure into a stack of calls.
source code:
depends
CONFIG_FUNCTION_TRACERCONFIG_HAVE_FUNCTION_GRAPH_TRACER or CONFIG_FTRACE or CONFIG_TRACING_SUPPORT or NOT CONFIG_CC_OPTIMIZE_FOR_SIZE or NOT CONFIG_X86_32