bpf backend does not compile on older kernels

Aaron Merey amerey@redhat.com
Tue Nov 21 19:00:00 GMT 2017


Hi Torsten,

Thanks for pointing this out, a fix is currently being worked on.

Best Regards,
Aaron

----- Original Message -----
From: "Torsten Polle" <Torsten.Polle@gmx.de>
To: systemtap@sourceware.org
Sent: Monday, November 20, 2017 3:36:48 PM
Subject: bpf backend does not compile on older kernels

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



More information about the Systemtap mailing list