Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp2083774imm; Fri, 6 Jul 2018 11:32:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf8Upl/4xqQ7DkRc0aGAVk2atQJ4S7lnJV2mHemq5111GKTuMjM/WU5p6d0xT4VAEV2DHN5 X-Received: by 2002:a65:45cc:: with SMTP id m12-v6mr10360611pgr.160.1530901959810; Fri, 06 Jul 2018 11:32:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530901959; cv=none; d=google.com; s=arc-20160816; b=IGzDzXYMaxU4ZpQrY1zkWJazMK9X9H2RowWbKtdMJxAOGwFnOMqbS3GD4QU239IVkl YH4Su3UtEFAGcDMT+xyR3NMdd2t2IqICWRPyN3m2/qbWIYp9O02Gu1cB9VsUVWHLkVnC 57iUxWtTXnWmqKkBnlEkvHRTPXuSZTJHKinJquY0W5DOzQPFb4GUxLTmVIClRfrnp3KZ n9+JA+ZB2DM9M3fmEFFCc1MViDil3Zby6Gr4C+MECU4Z7j4yM6qvIor1LaYe98FqqzvL crmb6SK6zrrNfKn/9vnp6PcyWfrz/6/nkAM28/OXnsdhZTDuIfkVvNfRgiEIomyno+1d FDZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-signature :arc-authentication-results; bh=1faRT02EXoKrdCVdTvqZRHZgZASTZiFP0JdXY2sp7Yc=; b=SryIgcMpq7bqIdvZVFqdFPlg8V7XU6RRJZZSuwqCiN8xPoGqU272WPT5GpGEUnwX6H EYGFTG1qrCFTthmd1iNlD8QwjjRde5y1Ap2qtWRSS54cO0iz57Lhx+btvHGU/3WG9slN nTvIS6NSi9hINdqscwuydtwnYXrTgTJwM6to8SaKhuk3W2hNoA5rRccnNxZf3jHBUXGm c1utDktcjbDeVqT/F5Qu9g+sEFEs/14wjAUQEOykgqFQqgCD1sKw4lctvDoeFrHsCNDl g7x1/MB8vX3ubvICZLPTDKAqzIi2J73PXWSFXKpYNizj5xBkGDYaleerSWzvMKVKvUqd W6gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=rVjDATBA; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=cX5zhgrY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o33-v6si8541326plb.432.2018.07.06.11.32.25; Fri, 06 Jul 2018 11:32:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=rVjDATBA; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=cX5zhgrY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934374AbeGFSa7 (ORCPT + 99 others); Fri, 6 Jul 2018 14:30:59 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:40774 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933978AbeGFSa5 (ORCPT ); Fri, 6 Jul 2018 14:30:57 -0400 Received: from pps.filterd (m0044010.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w66ITpqf032745; Fri, 6 Jul 2018 11:30:36 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=facebook; bh=1faRT02EXoKrdCVdTvqZRHZgZASTZiFP0JdXY2sp7Yc=; b=rVjDATBApomk1odJPbyG4kJ0MY2mTimRyEwJ51ncx4nyYZVwdXJRDrvsPyS6i6CfVLfj Iui9uNuaqKOMGk9h1C5oh/iWU59GKfvKfoefb+jO/SsSgnJN+baoUJ4Gh0DrecYwD02o eMzTa+CfdCjUeRWTlMYbTUm3x6iImg9prVI= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2k2bnqrdxp-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 06 Jul 2018 11:30:35 -0700 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.14) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 6 Jul 2018 11:30:34 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1faRT02EXoKrdCVdTvqZRHZgZASTZiFP0JdXY2sp7Yc=; b=cX5zhgrYukRyS+Llr+yOHZWyJHxQWtds88PWjkCNxPwQomUYWM0x0bxk1Fyl3X2mfLLApcM0z539KSvv2nQDxk944p9k6bH2NUyVd7YCN68fQAWot8L6f7XzWWcwtRQSMqzMGbdMmWu7XSAptUXoNdNlq0RZp+bveYH8aIk0eLM= Received: from castle.thefacebook.com (2620:10d:c090:200::6:17d7) by SN1PR15MB0176.namprd15.prod.outlook.com (2a01:111:e400:58cf::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.19; Fri, 6 Jul 2018 18:30:30 +0000 From: Roman Gushchin To: CC: , , Jakub Kicinski , Roman Gushchin , Quentin Monnet , Daniel Borkmann , Alexei Starovoitov Subject: [PATCH v2 bpf-next 2/3] bpftool: document cgroup tree command Date: Fri, 6 Jul 2018 11:30:11 -0700 Message-ID: <20180706183012.6475-2-guro@fb.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180706183012.6475-1-guro@fb.com> References: <20180706183012.6475-1-guro@fb.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [2620:10d:c090:200::6:17d7] X-ClientProxiedBy: MWHPR21CA0067.namprd21.prod.outlook.com (2603:10b6:300:db::29) To SN1PR15MB0176.namprd15.prod.outlook.com (2a01:111:e400:58cf::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7ffa137c-b67b-4cae-dd6b-08d5e36e8e6c X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);SRVR:SN1PR15MB0176; X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0176;3:GxO+lHbqRimq+0bmIjXvNQkc4u2ytTwiJ4G21Pz5QfPFgyn+YgF6U3T1rnhAcvDru7k/btP8A87YChBsI0yYXWD+dV8/QLhMjqGYbsO2dO7N/Bu3AGkGoQ6vloQ6JrEbEC3WimNgUf+p0g+oo/UFBniEy7bmLpT3MWn8CTEmCVeaNFAJBiNPKnIEQmaWQ5n63E2WMgO3X8likditlZZJl105o6RYsoy4zRiE2CFe7hA5xi+c3AdNvABGAY/r+tyE;25:Tsbyf3kFuO+Uz9VAWEWMqCo2a9BXdaTEMr2hYSRNdIJ6Q6hPUAo13+ix6m4pPsentMOUazgbIkUZaOZ4GdrGBr6CAOx4TPK+0L5GzjRdOyLXF4edzWI44mGvvOYUbYWNVX0HvSsJemJFr51C88GphVOPKjbZAtielXWoDaCckWykY2a6qz5Z1z95tqbE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Elb8m3GA7wCgxx4f3dyQHo0dYSGCxwDZU2EabFlxNKKH7t82gq6MIncSVPthrVts1RGXN9XCvHQIiXysBd5Snk1+sGjynz1YEIM/UEiDn6bXN5/TH9o72vn4ORbMiv8rmsEGVXmSrDuiziYN9zkb8dvYPyurRPdSEfiRn3nJYf4Fgi5Nk7NqDUclg9fPAEgmDLPXV3FmjLBFFeef1iUJePnxPSntpTkvjvUY3x/wR6g X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(67672495146484); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231254)(11241501184)(944501410)(52105095)(149027)(150027)(6041310)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:SN1PR15MB0176;BCL:0;PCL:0;RULEID:;SRVR:SN1PR15MB0176; X-Forefront-PRVS: 0725D9E8D0 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(136003)(396003)(39860400002)(346002)(366004)(376002)(189003)(199004)(476003)(53416004)(316002)(186003)(2361001)(2616005)(46003)(386003)(6506007)(8936002)(11346002)(5660300001)(16526019)(68736007)(1076002)(7736002)(81156014)(48376002)(69596002)(97736004)(8676002)(478600001)(50466002)(51416003)(486006)(52396003)(52116002)(446003)(81166006)(6916009)(2906002)(6116002)(106356001)(105586002)(6486002)(50226002)(47776003)(86362001)(76176011)(6666003)(2351001)(36756003)(54906003)(6512007)(16586007)(25786009)(4326008)(53936002)(575784001)(5024004)(39060400002)(305945005)(14444005)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:SN1PR15MB0176;H:castle.thefacebook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-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2FC4wGyvNwlyXcss3MO8jlPf3yXFewMEcallUaZOsUaNL?= =?us-ascii?Q?blSKExD1c3jJ7XxEjKNQEfwGG02bHezI10/OJsOktYDOAA9pzEJXEIupFUR8?= =?us-ascii?Q?EO6pVEFVt9/ZijP/Fcq7oUyI+LXW2MHNhBFSoUTsvHDXD1wNPZx0h17r1+jA?= =?us-ascii?Q?j7Ub/4t1fY74iWumAn8xnZ7DeyLQinl0F2bAq/c5FNow9M8MlLPCHEZd/iVr?= =?us-ascii?Q?dlxE441zpHFN1yWa0tnkWYh98tlGAcMLDdowYA9bqyUFTqA3ABSBiKsJqbyu?= =?us-ascii?Q?UFUlnqr9YJCkPoSp5dVm26twJY70yi0066YTPz6Ur0a8ubLZqPFjVns7g7Oq?= =?us-ascii?Q?8ek97CJYCaNZFdsjN9Rsc/HKOSB9Z7hNEOk5WtKWsVdQIFeiqqbnb8E7lE2a?= =?us-ascii?Q?zajKWzCxzaJtX09ahtGUy8cDCJprcZWc86iwkI5RUe+W3UPEAg0L/XgMS4t0?= =?us-ascii?Q?WNwmIy5R4U3lZ7cYiHBaNaahyi4Y753U5yTKEfhvCZbBIobwUqnqbIyu2wsS?= =?us-ascii?Q?Varow=3D=3D?= X-Microsoft-Antispam-Message-Info: IUf8Nw3wwhkap4isi0i4QFi2Z7vruoDVoGppscyjfrpd6lmKVPRM/VeNVdLMQhPqv79eIC3x+8FBS9KFYqwL5a6QjDj2+nmqe4CXwI9qGz5uxUwO10Pm8d0eLjKw+Pyi6tW8F8hBOG7gi327t+QfQoSDIcCw/mpyyG05KahPPnicQaXG/cnrPxablREVAlXhe19n5s69Ai9R1Ff2mjrQrcQ8IsOmQ6PxT31pLjxXpJkQDpqP6SY/UUr6+aOsWiJP9/AnxWoCV1abnl5UDIXV4pY5e//2tuJ0x6sNJ+FuylZ55typj0rjPzEn6J9cr1palPZLoLt4BMVY9X5E6bqui84P1dhfAh6TALS87U1RW0A= X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0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ENkubz7tWUeBVOGXI68F9+oiM6uz;20:rpGCTx6UURdNnZleOg0z25+kq8jcoZSbDzO9QK+6oqeBiLkYyDrAxprpKUdf7HPdZlq7oExADO83t64+1bAXVZlZ2Vw3i08n12jzFAJG6jPtVxBAZc0oFkFmozo8C8fbvZ+4V3Tvfvf+FcmkCsyRSMp/fMF/ahzo4tzRjffxdSU= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2018 18:30:30.7040 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7ffa137c-b67b-4cae-dd6b-08d5e36e8e6c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR15MB0176 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-06_05:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Describe cgroup tree command in the corresponding bpftool man page. Signed-off-by: Roman Gushchin Acked-by: Jakub Kicinski Cc: Quentin Monnet Cc: Daniel Borkmann Cc: Alexei Starovoitov --- tools/bpf/bpftool/Documentation/bpftool-cgroup.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tools/bpf/bpftool/Documentation/bpftool-cgroup.rst b/tools/bpf/bpftool/Documentation/bpftool-cgroup.rst index 7b0e6d453e92..edbe81534c6d 100644 --- a/tools/bpf/bpftool/Documentation/bpftool-cgroup.rst +++ b/tools/bpf/bpftool/Documentation/bpftool-cgroup.rst @@ -15,12 +15,13 @@ SYNOPSIS *OPTIONS* := { { **-j** | **--json** } [{ **-p** | **--pretty** }] | { **-f** | **--bpffs** } } *COMMANDS* := - { **show** | **list** | **attach** | **detach** | **help** } + { **show** | **list** | **tree** | **attach** | **detach** | **help** } MAP COMMANDS ============= | **bpftool** **cgroup { show | list }** *CGROUP* +| **bpftool** **cgroup tree** [*CGROUP_ROOT*] | **bpftool** **cgroup attach** *CGROUP* *ATTACH_TYPE* *PROG* [*ATTACH_FLAGS*] | **bpftool** **cgroup detach** *CGROUP* *ATTACH_TYPE* *PROG* | **bpftool** **cgroup help** @@ -39,6 +40,15 @@ DESCRIPTION Output will start with program ID followed by attach type, attach flags and program name. + **bpftool cgroup tree** [*CGROUP_ROOT*] + Iterate over all cgroups in *CGROUP_ROOT* and list all + attached programs. If *CGROUP_ROOT* is not specified, + bpftool uses cgroup v2 mountpoint. + + The output is similar to the output of cgroup show/list + commands: it starts with absolute cgroup path, followed by + program ID, attach type, attach flags and program name. + **bpftool cgroup attach** *CGROUP* *ATTACH_TYPE* *PROG* [*ATTACH_FLAGS*] Attach program *PROG* to the cgroup *CGROUP* with attach type *ATTACH_TYPE* and optional *ATTACH_FLAGS*. -- 2.14.4