-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable bpf to compile the fluent bit exception #9778
Comments
supplemental contentExecution cmake output:
|
I'm not a maintainer but out of interest I had a look into this issue. As far as I can tell, the bpf skeletons are generated in There are two custom command using clang ( Can you make sure that these are generated by looking at verbose build logs? For example: Maybe the error cases of these custom commands are not handled in cmake? |
Did you all install bpftool for creation of eBPF skeletons? It needs to generate skeletons for eBPF objects which are going to inject into Linux kernels. |
If skeleton generations are working correctly, your compilation log contains similar log like as:
I also found that the dependency order could be unstable on the current master. So, I wrote an align patch for dependency order of generating eBPF skeletons here: #9856 |
Thank you for your reply. bpftools has been installed. |
Just my 2 cents, take it or leave it. From a user perspective it would be nicer to have CMake fail at configuration time if The |
My eBPF testing environment is using libbpf v1.5. I didn't confirmed other version of libbpf. So, if possible, could you compile in_ebpf with Ubuntu 24.04 LTS? I also tried to compile in_ebpf in Ubuntu 22.04 but I didn't succeed yet. |
Bug Report
Describe the bug
I was testing the fluent bit input bpf plugin and found that there was a compilation problem and I couldn't try out the bpf feature.
To Reproduce
Your Environment
The text was updated successfully, but these errors were encountered: