Re: [PATCH bpf-next] tools/bpftool: show btf id in program information

2019-04-16 Thread Prashant Bhole
On 4/16/2019 9:54 AM, Andrii Nakryiko wrote: On Thu, Apr 11, 2019 at 8:38 AM Yonghong Song wrote: cc Andrii On 4/11/19 12:51 AM, Daniel Borkmann wrote: On 04/10/2019 05:39 PM, Jakub Kicinski wrote: On Wed, 10 Apr 2019 13:56:42 +0900, Prashant Bhole wrote: Let's add a way to know whethe

Re: [PATCH bpf-next] tools/bpftool: show btf id in program information

2019-04-16 Thread Daniel Borkmann
On 04/16/2019 02:54 AM, Andrii Nakryiko wrote: > On Thu, Apr 11, 2019 at 8:38 AM Yonghong Song wrote: >> >> cc Andrii >> >> On 4/11/19 12:51 AM, Daniel Borkmann wrote: >>> On 04/10/2019 05:39 PM, Jakub Kicinski wrote: On Wed, 10 Apr 2019 13:56:42 +0900, Prashant Bhole wrote: > Let's add a

Re: [PATCH bpf-next] tools/bpftool: show btf id in program information

2019-04-15 Thread Andrii Nakryiko
On Thu, Apr 11, 2019 at 8:38 AM Yonghong Song wrote: > > > cc Andrii > > On 4/11/19 12:51 AM, Daniel Borkmann wrote: > > On 04/10/2019 05:39 PM, Jakub Kicinski wrote: > >> On Wed, 10 Apr 2019 13:56:42 +0900, Prashant Bhole wrote: > >>> Let's add a way to know whether a program has btf context. > >

Re: [PATCH bpf-next] tools/bpftool: show btf id in program information

2019-04-11 Thread Yonghong Song
cc Andrii On 4/11/19 12:51 AM, Daniel Borkmann wrote: > On 04/10/2019 05:39 PM, Jakub Kicinski wrote: >> On Wed, 10 Apr 2019 13:56:42 +0900, Prashant Bhole wrote: >>> Let's add a way to know whether a program has btf context. >>> Patch adds 'btf_id' in the output of program listing. >>> When btf_

Re: [PATCH bpf-next] tools/bpftool: show btf id in program information

2019-04-11 Thread Daniel Borkmann
On 04/10/2019 05:39 PM, Jakub Kicinski wrote: > On Wed, 10 Apr 2019 13:56:42 +0900, Prashant Bhole wrote: >> Let's add a way to know whether a program has btf context. >> Patch adds 'btf_id' in the output of program listing. >> When btf_id is present, it means program has btf context. >> >> Sample

Re: [PATCH bpf-next] tools/bpftool: show btf id in program information

2019-04-10 Thread Jakub Kicinski
On Wed, 10 Apr 2019 13:56:42 +0900, Prashant Bhole wrote: > Let's add a way to know whether a program has btf context. > Patch adds 'btf_id' in the output of program listing. > When btf_id is present, it means program has btf context. > > Sample output: > user@test# bpftool prog list > 25: xdp na