Build custom ftrace ops example

modulename: ftrace-ops.ko

configname: CONFIG_SAMPLE_FTRACE_OPS

Linux Kernel Configuration
└─>Kernel hacking
└─>Sample kernel code
└─>Build custom ftrace ops example
In linux kernel since version 6.3 (release Date: 2023-04-23)  
This builds an ftrace ops example that hooks two functions and
measures the time taken to invoke one function a number of times.

source code: