[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b2391ae1-171d-d972-c7e5-1c4b55c236c5@iogearbox.net>
Date: Tue, 11 Dec 2018 16:54:04 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Song Liu <songliubraving@...com>, netdev@...r.kernel.org
Cc: ast@...nel.org, kernel-team@...com, kafai@...com
Subject: Re: [PATCH v2 bpf-next 1/2] bpf: include sub program tags in
bpf_prog_info
On 12/11/2018 09:18 AM, Song Liu wrote:
> Changes from v1:
> 1. Fix error path as Martin suggested.
>
> This patch adds nr_prog_tags and prog_tags to bpf_prog_info. This is a
> reliable way for user space to get tags of all sub programs. Before this
> patch, user space need to find sub program tags via kallsyms.
>
> This feature will be used in BPF introspection, where user space queries
> information about BPF programs via sys_bpf.
Should bpftool be updated as well to support this facility?
Thanks,
Daniel
Powered by blists - more mailing lists