Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp85242imm; Fri, 6 Jul 2018 14:31:22 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeeq304Hox32V0KoKWkS/S1Uqf858xFF+LJue2ZHl6j9JeTC0Trani3b9qaFPXa1q1ZkJPs X-Received: by 2002:a63:9d87:: with SMTP id i129-v6mr10300488pgd.395.1530912682404; Fri, 06 Jul 2018 14:31:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530912682; cv=none; d=google.com; s=arc-20160816; b=ex3h3yPjVszDQakBXSvXYwomwyOQUQfZ6dhDg8K9tN0sXGmxDofC5Ef5obBdVVV5rY Crnc2dn/zo4txjftrob6qnPIho3uMvSjCmND4plQQ4iBEwD0aA9qR1wBuACnvevvwMIc khqoaDO3q7Sv/2h4BIF7wH2VhKmGeiNXSahFbJf4xaJ5NCYKMpFApFjOuCUsNbZaFnHN jnL4Bpolk9FLoRKuGYGWanUFlUeFwubzMW2a2JjKHGnCq1PchxwX2mQLHlYt3/IfWiWW bbDiHJExcjjzXXLFN4k5jHxu/5Kk/ZeG2gzeKufT/EaL40BruA+1M4KTobrFozUUUyre UFIw== 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=dULlGn75F4b4GFLTHZw9F82y7sKPp2g6qWBGzIpXKAiWR8YIDmzPSzxkFyRAPn38NE YUA+E6EwZ9AufpAA3G7akniJOy2lTL+yicXN1BqdPdQbNmox3sr1AMs4pxPOYNY5bIKu NF0B8HlB4YaQFpu5qBhxYom/xogPWF3g+PBQbohAjMouf+UqwxkEJ9erjeBxFNtT6bNH CybXikV7zuhdnk7B5Zi+cxd4PtkS5IDPDwsjugdLvybJ9vAePTf/H+1AWXUU1XGLsjVU t0kA69xreLbf3JObxc/TI4fzdVDiHIGQzBDFDbkTHV/4ew1ri++wWkfnPVJMklfjwgVS XMmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=AD44MeJc; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=U1LFfe9F; 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 1-v6si9121265plk.19.2018.07.06.14.31.05; Fri, 06 Jul 2018 14:31:22 -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=AD44MeJc; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=U1LFfe9F; 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 S932965AbeGFV3s (ORCPT + 99 others); Fri, 6 Jul 2018 17:29:48 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:39178 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932778AbeGFV3p (ORCPT ); Fri, 6 Jul 2018 17:29:45 -0400 Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w66LSo3g020755; Fri, 6 Jul 2018 14:29:22 -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=AD44MeJcYj75rChe2orr4YTajH2wg7nJObSByfqhOSl0LovsC9tiIKkr2rhsf6JrtfS9 INBSGfU4hdLqY6rXJ2er9SxLwHKiyoQFcBkH09Yd9WgNwT1Qb/OYxAZ1r+pkJn/jlf3N 1v0f/QVuQQGninrJBx+9SZBN52JHtNUA2RM= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2k2cy58fr8-6 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 06 Jul 2018 14:29:22 -0700 Received: from NAM05-BY2-obe.outbound.protection.outlook.com (192.168.183.28) by o365-in.thefacebook.com (192.168.177.30) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 6 Jul 2018 17:28:36 -0400 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=U1LFfe9FfFrjjy0GSnVoXJad/j0BLkab5AOJRUISMWAMBoR0Vkp8K/BiDjEvuhW6ckhfZldFLHVm+I4TXfbUaFlR2a3/9/J7fYIwvJ86P7AQCml/nBgdHA0XaNVXDlWFTV5c4AWp4yuWyPiNKWRzkM73kTjTienPQm8izCWhkH8= Received: from castle.thefacebook.com (2620:10d:c090:200::4:3096) by BY2PR15MB0167.namprd15.prod.outlook.com (2a01:111:e400:58e0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.21; Fri, 6 Jul 2018 21:28:32 +0000 From: Roman Gushchin To: CC: , , Jakub Kicinski , Roman Gushchin , Quentin Monnet , Daniel Borkmann , Alexei Starovoitov Subject: [PATCH v3 bpf-next 2/3] bpftool: document cgroup tree command Date: Fri, 6 Jul 2018 14:28:15 -0700 Message-ID: <20180706212816.3760-2-guro@fb.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180706212816.3760-1-guro@fb.com> References: <20180706212816.3760-1-guro@fb.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [2620:10d:c090:200::4:3096] X-ClientProxiedBy: MWHPR01CA0047.prod.exchangelabs.com (2603:10b6:300:101::33) To BY2PR15MB0167.namprd15.prod.outlook.com (2a01:111:e400:58e0::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d4371273-6336-40bf-77a9-08d5e3876d24 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);SRVR:BY2PR15MB0167; X-Microsoft-Exchange-Diagnostics: 1;BY2PR15MB0167;3:JGbaBuNW+aT6lGRF+QWcu++5gn34lc41Lu+jxcnSK/XZ+6M6UvyD/VcMhCrwtgXlRjfkixVKO2pV1yxPJ/ovupS47eWSp5Kr0XdINMk7HSqsvYWbdatW9cU9ih0FazmbIRvgLWH2VQ9N4tyjP7RCLUCRUpjdK9jMbA3kK7Qpv+xlAaWhKaKt/M3orD4XULzzSaQYkErMPK752qRygc75M2ZOQJA40O/LQDyRBgXqqMzur8KfzDysqO62jnB0BSR+;25:qFWAOjSX6Dfefe42532+wbAdvZOiC1eGhYRVWFOYkZCZhZiFtCmPZoGknaNu3IzB32gytqF0IiVUxgwlA1PhRq6MdvvedYOWtVoFC9CeJ4JB4dSZUa5MMrW7AFiT3/jpBSh4w4bXW/PgozMlgp6POXuAx795+SB+yi1TPR08v0rpB0aLzoaQJlEbpGgSSXXo+pZ38seRUoEjS90Tb262ru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wWnlbmwgKHfwBGA/EcvcU/eJE63ljOr81HGJg6Z4M5YpoW76Ct7+BZ1FR2QGfjxkV1Hcb7V4wZ0gq9Ptc4KRwcrxpxoei3P0n0LQ3nmtA7xkMYbQm5UVgA0WPfCTtyUE9SColFDSeZsjrVYsjHOm1Fg8bwbDO+DlhVoS+rss8idIxfA31CMmdWbT 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)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231254)(11241501184)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016);SRVR:BY2PR15MB0167;BCL:0;PCL:0;RULEID:;SRVR:BY2PR15MB0167; X-Forefront-PRVS: 0725D9E8D0 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(136003)(396003)(39860400002)(366004)(376002)(346002)(199004)(189003)(105586002)(446003)(86362001)(575784001)(11346002)(2616005)(486006)(476003)(50226002)(8936002)(2906002)(7736002)(305945005)(81156014)(81166006)(2361001)(8676002)(316002)(69596002)(16586007)(68736007)(53416004)(54906003)(106356001)(36756003)(5660300001)(6916009)(6666003)(52396003)(51416003)(52116002)(6486002)(6506007)(386003)(76176011)(46003)(14444005)(5024004)(186003)(97736004)(16526019)(47776003)(48376002)(50466002)(6512007)(6116002)(39060400002)(25786009)(4326008)(53936002)(1076002)(478600001)(2351001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR15MB0167;H:castle.thefacebook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY2PR15MB0167;23:DilzezqwJs9kRADQgvrqcK1OriK0xJijkMkldWy4N?= =?us-ascii?Q?tH9nFgUsmc3GGA04Kd6YamuLyX/eqvb9C1h5xYIYRFASdRLm33g7m2qQkFaz?= =?us-ascii?Q?hVQixMMZnbyFHrroGhj5I2db3OJOKzzdsxWsam+DVXvk80vmAaEZ+cIQtEVC?= =?us-ascii?Q?Onkutjr5CwrWITXjk/RZACmTrbfan19e+ppMRBIRpwswKzfX9PrXpdpQaCgI?= =?us-ascii?Q?oRR5/DXHdldKhohR737Yv492AAZmO+81q0jpW485D8sCWJFlKKh24MEKba7L?= =?us-ascii?Q?aoGb5F+2MAwchp97iuq7b/6Pma3EdW2vtFmHa0+NfZE2fT2pCfPyeXZ397iv?= =?us-ascii?Q?GqInD8aUB0SueNxOjoL8L/YmjxPxMOHFhzvwOOrQGaDxrLwazthJAE7gZsBi?= =?us-ascii?Q?i+9z9nxc4/tRRo0459bj9qlytU+nhi8TFi/4HVsqtLa6yjm2tqWY4V37PfSH?= =?us-ascii?Q?VCsmi8lD2NgDCeDlEnMoodc6mw7Jbr0qifCNkTSNchjRfcuqtrTSUxPbV6N3?= =?us-ascii?Q?PA16CcE26ctLJYcG7YKqc6GWhQX4nxk0mxd4Qsb150jUS/Te1VdJwoTMW1XY?= =?us-ascii?Q?z4MmwOpBGJjZSwr+OxnN2NOE3xRNbTqhVLcFvSnlpSO78JeFZoUjDlSTzSn1?= =?us-ascii?Q?o/YT1z3XTVBqtx78kGkXDgmrnu/MNChKXDIgWFjJDU1UbtRDndzJKf+K6hnq?= =?us-ascii?Q?USYP0GKMXHznYJ2cYwPv/+9lHo1BA49hn+q5HK21WycrK3/yH8+AvR45Rqa6?= =?us-ascii?Q?GHVaTA6FPoGR6xIe/UUTH6vbQE5CfQkO7/RKz6b5O5oIUWrBdPORUYuk7HFv?= =?us-ascii?Q?TVzY5HsVzh4vpWqLEiY4EHo/wx9+q/FRmPu+xofytKSxKeyuzl/UQCg2AeFa?= =?us-ascii?Q?76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fuCG5Yy7cB0eRfCqwX174zEfwUt3un+D9PN6IeElDvPlE6j1BfJuqXG31WNaz9mYTnjZActcISVC+c7Ac3p9FXWN01rx0O4aejHFWOeQV2jQBAGPtUnYjdLdVqL/cr7LbAWpsdH6EE= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2018 21:28:32.8284 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d4371273-6336-40bf-77a9-08d5e3876d24 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR15MB0167 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-06_06:,, 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