rtla fixes for 7.0:
- Fix build failure when libbpf does not exist RTLA supports building without BPF libraries, but a recent change added a libbpf.h include outside of the BPF protection which caused build failures when libbpf was not installed. -----BEGIN PGP SIGNATURE----- iIoEABYKADIWIQRRSw7ePDh/lE+zeZMp5XQQmuv6qgUCacqphhQccm9zdGVkdEBn b29kbWlzLm9yZwAKCRAp5XQQmuv6qjglAQDZFyZlJ5x13SbmxcIkA+pSy7zrWkxt 3hB09dkdY2q2uAEA+PMALreOSF2A1dyH8c6/yuxf3ftcUZH+/XnkQeheows= =f4XK -----END PGP SIGNATURE----- Merge tag 'trace-rtla-v7.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace Pull rtla build fix from Steven Rostedt: - Fix build failure when libbpf does not exist RTLA supports building without BPF libraries, but a recent change added a libbpf.h include outside of the BPF protection which caused build failures when libbpf was not installed. * tag 'trace-rtla-v7.0-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: rtla: Fix build without libbpf header
This commit is contained in:
commit
f1b24d8bdd
|
|
@ -12,7 +12,6 @@ enum summary_field {
|
|||
};
|
||||
|
||||
#ifndef __bpf__
|
||||
#include <bpf/libbpf.h>
|
||||
#ifdef HAVE_BPF_SKEL
|
||||
int timerlat_bpf_init(struct timerlat_params *params);
|
||||
int timerlat_bpf_attach(void);
|
||||
|
|
|
|||
Loading…
Reference in New Issue