diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2026-03-30 13:12:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2026-03-30 13:12:00 -0700 |
| commit | f1b24d8bdd64ecd5400dff79677f8a290ca70d73 (patch) | |
| tree | d2277dbcb2556fa64a87d943bea57ec6d6cdf3be | |
| parent | 7aaa8047eafd0bd628065b15757d9b48c5f9c07d (diff) | |
| parent | 2e8b1a1d12ae3338efeb1c3de3eb4e9324b87a28 (diff) | |
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
| -rw-r--r-- | tools/tracing/rtla/src/timerlat_bpf.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/tracing/rtla/src/timerlat_bpf.h b/tools/tracing/rtla/src/timerlat_bpf.h index 169abeaf4363..f7c5675737fe 100644 --- a/tools/tracing/rtla/src/timerlat_bpf.h +++ b/tools/tracing/rtla/src/timerlat_bpf.h @@ -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); |
