Re: [PATCH v4 net-next 0/4] bpftool: cgroup bpf operations

From: Quentin Monnet
Date: Thu Dec 14 2017 - 07:22:23 EST


2017-12-13 15:18 UTC+0000 ~ Roman Gushchin <guro@xxxxxx>
> This patchset adds basic cgroup bpf operations to bpftool.
>
> Right now there is no convenient way to perform these operations.
> The /samples/bpf/load_sock_ops.c implements attach/detacg operations,
> but only for BPF_CGROUP_SOCK_OPS programs. Bps (part of bcc) implements
> bpf introspection, but lacks any cgroup-related specific.
>
> I find having a tool to perform these basic operations in the kernel tree
> very useful, as it can be used in the corresponding bpf documentation
> without creating additional dependencies. And bpftool seems to be
> a right tool to extend with such functionality.

Thank you Roman for this series, and for documenting the new commands
and flags!

Reviewed-by: Quentin Monnet <quentin.monnet@xxxxxxxxxxxxx>