bpf_stats_enabled

file: /proc/sys/kernel/bpf_stats_enabled
variable: kernel.bpf_stats_enabled
Official reference

Controls whether the kernel should collect statistics on BPF programs (total time spent running, number of times run…). Enabling statistics causes a slight reduction in performance on each program run. The statistics can be seen using bpftool.

= ===================================
0 Don't collect statistics (default).
1 Collect statistics.
= ===================================