Skip to content

Commit f1b24d8

Browse files
committed
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
2 parents 7aaa804 + 2e8b1a1 commit f1b24d8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tools/tracing/rtla/src/timerlat_bpf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ enum summary_field {
1212
};
1313

1414
#ifndef __bpf__
15-
#include <bpf/libbpf.h>
1615
#ifdef HAVE_BPF_SKEL
1716
int timerlat_bpf_init(struct timerlat_params *params);
1817
int timerlat_bpf_attach(void);

0 commit comments

Comments
 (0)