Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752016AbdLNMWU (ORCPT ); Thu, 14 Dec 2017 07:22:20 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:33001 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751719AbdLNMWT (ORCPT ); Thu, 14 Dec 2017 07:22:19 -0500 X-Google-Smtp-Source: ACJfBosoV86H8qC02IjZ1Phgr/KN5LoZVMQ8u4UhgpvErysP4gvRLzl5xKmIpcrXxXjcrswFlgL3hA== Subject: Re: [PATCH v4 net-next 0/4] bpftool: cgroup bpf operations To: Roman Gushchin , netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, ast@kernel.org, daniel@iogearbox.net, jakub.kicinski@netronome.com, kafai@fb.com, David Ahern References: <20171213151854.21960-1-guro@fb.com> From: Quentin Monnet Message-ID: Date: Thu, 14 Dec 2017 12:22:16 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171213151854.21960-1-guro@fb.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 806 Lines: 17 2017-12-13 15:18 UTC+0000 ~ Roman Gushchin > 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