This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
bpf backend does not compile on older kernels
- From: Torsten Polle <Torsten dot Polle at gmx dot de>
- To: systemtap at sourceware dot org
- Date: Mon, 20 Nov 2017 21:36:48 +0100
- Subject: bpf backend does not compile on older kernels
- Authentication-results: sourceware.org; auth=none
Hi,
the kernel used by me does not define BPF_PROG_TYPE_KPROBE, BPF_PROG_TYPE_KPROBE and BPF_PROG_TYPE_PERF_EVENT. Therefore the compilation of stapbpf.cxx fails, as the check AC_CHECK_HEADERS(linux/bpf.h) in configure.ac does not spot the missing macros.
Kind Regards,
Torsten