News for hackers. Stuff that matters.
Re:eBPF Summit Day 1 Recap by tptacek on Thursday October 29, 2020 @07:10PM (#24937195)
Do people generally do that? Is this an artifact of people using iovisor/bcc and Python or whatever? We just build .o files with clang and ship 'em.
Re:eBPF Summit Day 1 Recap by brycekahle on Friday October 30, 2020 @12:54PM (#24944226)
Yes. If you ship any eBPF programs that utilize kprobes and/or read kernel structures that change between kernel versions, you have portability problems. See https://facebookmicrosites.github.io/bpf/blog/2020/02/19/bpf... for a good overview of the problem that CO-RE intends to solve.
Re:eBPF Summit Day 1 Recap by tptacek on Friday October 30, 2020 @01:44PM (#24944859)
Ah! That makes so much sense. It hadn't occurred; when we rolled out BPF at Fly, the first thing we did was commit to standardize our kernels. After all, there's not much CO-RE can do about your BPF compiler not having tail calls, or not allowing bounded loops. But we're almost entirely XDP; I can see kernel structs being a much bigger problem for people doing observability work.
Re:eBPF Summit Day 1 Recap by rtkaratekid on Thursday October 29, 2020 @08:10PM (#24937656)
I use libbpf-sys but that’s user space