[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200429003324.afboiyqnxjxry6pg@ast-mbp.dhcp.thefacebook.com>
Date: Tue, 28 Apr 2020 17:33:24 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Andrii Nakryiko <andriin@...com>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org, ast@...com,
daniel@...earbox.net, andrii.nakryiko@...il.com, kernel-team@...com
Subject: Re: [PATCH v3 bpf-next 00/10] bpf_link observability APIs
On Tue, Apr 28, 2020 at 05:16:04PM -0700, Andrii Nakryiko wrote:
> This patch series adds various observability APIs to bpf_link:
> - each bpf_link now gets ID, similar to bpf_map and bpf_prog, by which
> user-space can iterate over all existing bpf_links and create limited FD
> from ID;
> - allows to get extra object information with bpf_link general and
> type-specific information;
> - implements `bpf link show` command which lists all active bpf_links in the
> system;
> - implements `bpf link pin` allowing to pin bpf_link by ID or from other
> pinned path.
>
> v2->v3:
> - improve spin locking around bpf_link ID (Alexei);
> - simplify bpf_link_info handling and fix compilation error on sh arch;
> v1->v2:
> - simplified `bpftool link show` implementation (Quentin);
> - fixed formatting of bpftool-link.rst (Quentin);
> - fixed attach type printing logic (Quentin);
> rfc->v1:
> - dropped read-only bpf_links (Alexei);
> - fixed bug in bpf_link_cleanup() not removing ID;
> - fixed bpftool link pinning search logic;
> - added bash-completion and man page.
Applied, Thanks
Powered by blists - more mailing lists