Build custom trace event example -- loadable modules only

modulename: trace_custom_sched.ko

configname: CONFIG_SAMPLE_TRACE_CUSTOM_EVENTS

Linux Kernel Configuration
└─>Kernel hacking
└─>Sample kernel code
└─>Build custom trace event example -- loadable modules only
In linux kernel since version 5.2 (release Date: 2019-07-07)  
This builds the custom trace event example module.

source code:
depends
CONFIG_EVENT_TRACING
CONFIG_MODULES
CONFIG_SAMPLES