Re: [iovisor-dev] Which is oldest linux kernel version that can support BTF? #bcc

2021-03-17 Thread Toke Høiland-Jørgensen
"Daniel Xu" writes: > On Sun, Feb 28, 2021, at 12:07 PM, bg.salunk...@gmail.com wrote: >> Hi, >> >> I'm looking into BTF and it's use case. Based on the document I >> understood to run BPF programs across different kernel versions, it >> needs to build with libbpf which depends on the BTF

Re: [iovisor-dev] Which is oldest linux kernel version that can support BTF? #bcc

2021-03-03 Thread bg . salunke09
On Tue, Mar 2, 2021 at 08:22 PM, Andrii Nakryiko wrote: > > On Tue, Mar 2, 2021 at 4:42 PM wrote: > >> Thanks Andrii, for detailed answer. >> Yes you are right, I'm looking for CO-RE. Basically I'm trying to build >> the eBPF program which can run on any linux kernel version using libbpf >>

Re: [iovisor-dev] Which is oldest linux kernel version that can support BTF? #bcc

2021-03-02 Thread Andrii Nakryiko
On Tue, Mar 2, 2021 at 4:42 PM wrote: > > Thanks Andrii, for detailed answer. > Yes you are right, I'm looking for CO-RE. Basically I'm trying to build the > eBPF program which can run on any linux kernel version using libbpf > > What I understood from your blog >

Re: [iovisor-dev] Which is oldest linux kernel version that can support BTF? #bcc

2021-03-02 Thread bg . salunke09
Thanks Andrii, for detailed answer. Yes you are right, I'm looking for CO-RE. Basically I'm trying to build the eBPF program which can run on any linux kernel version using libbpf What I understood from your blog

Re: [iovisor-dev] Which is oldest linux kernel version that can support BTF? #bcc

2021-03-02 Thread Toke Høiland-Jørgensen
"Andrii Nakryiko" writes: > On Sun, Feb 28, 2021 at 12:37 PM wrote: >> >> [Edited Message Follows] >> >> Hi, >> >> I'm looking into BTF and it's use case. Based on the document I understood >> to run BPF programs across different kernel versions, it needs to build with >> libbpf which depends

Re: [iovisor-dev] Which is oldest linux kernel version that can support BTF? #bcc

2021-03-01 Thread Andrii Nakryiko
On Sun, Feb 28, 2021 at 12:37 PM wrote: > > [Edited Message Follows] > > Hi, > > I'm looking into BTF and it's use case. Based on the document I understood to > run BPF programs across different kernel versions, it needs to build with > libbpf which depends on the BTF information. > Now to

Re: [iovisor-dev] Which is oldest linux kernel version that can support BTF? #bcc

2021-03-01 Thread Alison Chaiken
bg.salunk...@gmail.com asked: > Can I get information about oldest linux kernel version that can support BTF? The basic support appears to have been added by commit e83b9f55448afce3fe1abcd1d10db9584f8042a6 Author: Andrii Nakryiko Date: Tue Apr 2 09:49:50 2019 -0700 kbuild: add ability to

[iovisor-dev] Which is oldest linux kernel version that can support BTF? #bcc

2021-02-28 Thread bg . salunke09
[Edited Message Follows] Hi, I'm looking into BTF and it's use case. Based on the document I understood to run BPF programs across different kernel versions, it needs to build with libbpf which depends on the BTF information. Now to enable/to have BTF information on any Kernel, the kernel

[iovisor-dev] Which is oldest linux kernel version that can support BTF? #bcc

2021-02-28 Thread bg . salunke09
Hi, I'm looking into BTF and it's use case. Based on the document I understood to run BPF programs across different kernel versions, it needs to build with libbpf which depends on the BTF information. Now to enable/to have BTF information on any Kernel, the kernel needs to be re-build with ""