"BPF API too old" with linux-tools 4.12.9

From: Jose R R
Date: Mon Aug 28 2017 - 10:24:49 EST


Any help would appreciated as linux-headers common are not built in
reiser4 custom kernel build:

make[7]: Leaving directory '/usr/src/build/kernel/build/linux/tools/build'
/usr/bin/make FIXDEP=1 -f Makefile.perf
make[7]: Entering directory '/usr/src/build/kernel/build/linux/tools/perf'

Auto-detecting system features:
... dwarf: [ ^[[32mon^[[m ]
... dwarf_getlocations: [ ^[[32mon^[[m ]
... glibc: [ ^[[32mon^[[m ]
... gtk2: [ ^[[32mon^[[m ]
... libaudit: [ ^[[32mon^[[m ]
... libbfd: [ ^[[31mOFF^[[m ]
... libelf: [ ^[[32mon^[[m ]
... libnuma: [ ^[[32mon^[[m ]
... numa_num_possible_cpus: [ ^[[32mon^[[m ]
... libperl: [ ^[[32mon^[[m ]
... libpython: [ ^[[32mon^[[m ]
... libslang: [ ^[[32mon^[[m ]
... libcrypto: [ ^[[32mon^[[m ]
... libunwind: [ ^[[32mon^[[m ]
... libdw-dwarf-unwind: [ ^[[32mon^[[m ]
... zlib: [ ^[[32mon^[[m ]
... lzma: [ ^[[32mon^[[m ]
... get_cpuid: [ ^[[32mon^[[m ]
... bpf: [ ^[[31mOFF^[[m ]

Makefile.config:456: BPF API too old. Please install recent kernel
headers. BPF support in 'perf record' is disabled.


Best Professional Regards.