You can use Ftrace
with timestamp enabled to trace the time required for
bind/unbind or any other kernel function getting executed.
Ftrace is a tracing utility built directly into the Linux kernel. Just turn on these CONFIGS in kernel:
CONFIG_FUNCTION_TRACER
CONFIG_FUNCTION_GRAPH_TRACER
CONFIG_STACK_TRACER
CONFIG_DYNAMIC_FTRACE
Your Ftrace output should look something like…
Top comments (0)