Backporting ebpf
Hi, I just integrated changes from this commit for Kernel version 3.15
into Kernel version 3.10.0-514.21.1 that’s what Centos 7 uses out of the box. Besides changes on a couple of drivers most of the changes are isolated. I’ll try to compile bcc in Centos 7 to test these features:
AF_PACKET (libpcap/tcpdump,
Kernel helpers
Are there any bcc tools in the old folder to test these ?
Maybe is a lost of time backporting ebpf and the sane thing to do is just to use the newer kernels, but at least this helps to get familiar with the code.
The current code is in this GitHub repo
https://github.com/cneira/
Bests |
|
Alexei Starovoitov
On Fri, Jun 30, 2017 at 6:05 AM, carlos antonio neira bustos via
iovisor-dev <iovisor-dev@...> wrote: Hi,that is just one patch. you want to backport most of it to be usable. I believe few redhat folks attempted to backport it to centos7, but it's tedious. centos8 has better chance to support bpf. |
|
riya
Hi Carlos, I was hoping to back port eBPF to kernel-3.10. Does the code here https://github.com/cneira/ebpf Thanks, Riya On Fri, Jun 30, 2017 at 12:16 PM, Alexei Starovoitov via iovisor-dev <iovisor-dev@...> wrote: On Fri, Jun 30, 2017 at 6:05 AM, carlos antonio neira bustos via |
|
Hi Ryanna, That repository contains changes to add ebpf to the kernel shipped with Rhel 7.3. If you clone branch bpf_3.18_features that will give you a working kernel with ebpf features from kernel version 3.18, that still needs to be tested. At this moment the master branch contains ebpf changes from 3.19 but I'm still working on this on my free time. Bests On Thu, Oct 12, 2017 at 5:32 PM, riya khanna <riyakhanna1983@...> wrote:
|
|