[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <edf6e5a1-6431-52c4-a77f-a012919b958b@iogearbox.net>
Date: Tue, 20 Aug 2019 17:10:25 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Quentin Monnet <quentin.monnet@...ronome.com>,
Alexei Starovoitov <ast@...nel.org>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org,
oss-drivers@...ronome.com
Subject: Re: [PATCH bpf-next v2] bpf: add BTF ids in procfs for file
descriptors to BTF objects
On 8/20/19 3:53 PM, Quentin Monnet wrote:
> Implement the show_fdinfo hook for BTF FDs file operations, and make it
> print the id of the BTF object. This allows for a quick retrieval of the
> BTF id from its FD; or it can help understanding what type of object
> (BTF) the file descriptor points to.
>
> v2:
> - Do not expose data_size, only btf_id, in FD info.
>
> Signed-off-by: Quentin Monnet <quentin.monnet@...ronome.com>
> Reviewed-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Applied, thanks!
Powered by blists - more mailing lists