Enable kprobes-based dynamic events

modulename: trace_kprobe_selftest.ko

and/or

trace_kprobe.ko

configname: CONFIG_KPROBE_EVENTS

Linux Kernel Configuration
└─>Tracers
└─>Enable kprobes-based dynamic events
In linux kernel since version 3.10 (release Date: 2013-06-30)  
This allows the user to add tracing events (similar to tracepoints)
on the fly via the ftrace interface. See Documentation/trace/kprobetrace.txt for more details.

Those events can be inserted wherever kprobes can probe, and record
various register and memory values.

This option is also required by perf-probe subcommand of perf tools.
If you want to use perf tools, this option is strongly recommended.

source code: