Re: [PATCH bpf-next 04/11] bpf: show prog and map id in fdinfo

2018-05-30 Thread Jesper Dangaard Brouer
On Wed, 30 May 2018 09:15:25 -0700 Song Liu wrote: > On Tue, May 29, 2018 at 12:55 PM, Daniel Borkmann > wrote: > > On 05/29/2018 07:27 PM, Jesper Dangaard Brouer wrote: > >> On Mon, 28 May 2018 02:43:37 +0200 > >> Daniel Borkmann wrote: > >> > >>> Its trivial and straight forward to expos

Re: [PATCH bpf-next 04/11] bpf: show prog and map id in fdinfo

2018-05-30 Thread Song Liu
On Tue, May 29, 2018 at 12:55 PM, Daniel Borkmann wrote: > On 05/29/2018 07:27 PM, Jesper Dangaard Brouer wrote: >> On Mon, 28 May 2018 02:43:37 +0200 >> Daniel Borkmann wrote: >> >>> Its trivial and straight forward to expose it for scripts that can >>> then use it along with bpftool in order to

Re: [PATCH bpf-next 04/11] bpf: show prog and map id in fdinfo

2018-05-29 Thread Daniel Borkmann
On 05/29/2018 07:27 PM, Jesper Dangaard Brouer wrote: > On Mon, 28 May 2018 02:43:37 +0200 > Daniel Borkmann wrote: > >> Its trivial and straight forward to expose it for scripts that can >> then use it along with bpftool in order to inspect an individual >> application's used maps and progs. Rig

Re: [PATCH bpf-next 04/11] bpf: show prog and map id in fdinfo

2018-05-29 Thread Jesper Dangaard Brouer
On Mon, 28 May 2018 02:43:37 +0200 Daniel Borkmann wrote: > Its trivial and straight forward to expose it for scripts that can > then use it along with bpftool in order to inspect an individual > application's used maps and progs. Right now we dump some basic > information in the fdinfo file but

[PATCH bpf-next 04/11] bpf: show prog and map id in fdinfo

2018-05-27 Thread Daniel Borkmann
Its trivial and straight forward to expose it for scripts that can then use it along with bpftool in order to inspect an individual application's used maps and progs. Right now we dump some basic information in the fdinfo file but with the help of the map/prog id full introspection becomes possible