From patchwork Wed Nov 10 11:46:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Monnet X-Patchwork-Id: 12611937 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2EC3C433FE for ; Wed, 10 Nov 2021 11:46:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A82F9610F7 for ; Wed, 10 Nov 2021 11:46:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231344AbhKJLtY (ORCPT ); Wed, 10 Nov 2021 06:49:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231148AbhKJLtY (ORCPT ); Wed, 10 Nov 2021 06:49:24 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A95B0C061766 for ; Wed, 10 Nov 2021 03:46:36 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id d24so3577804wra.0 for ; Wed, 10 Nov 2021 03:46:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isovalent-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kjHd0Kr0ymQ3a10ENDIboaCgm2YTIHCHTF3U6cm7HUg=; b=smrMgPz/PdOvuy4BKoFdtbXDyOFYkAfUEbCjFH8yI/4ulUYkKidxaDqNe6F2Mm3ap4 92bn8RGNDbepC8kqKFdGM1ehzQvTP8NHpl+cjvsKZ4+ewYbVQTz5pqlqChe1Qt3gv5zP 1Jbt2/+vd72sTXheXp/cGlg6XGtMmtGn7KjZVeWz2RH+XS7G0D0XhFoOSl8Yi4v7Y15J azs0fLS1SC455Tc3OjU4tGTB6LKGVJFTl7ETuBEONoNo8O0T+Agk8228fblewZuAMYdw f4zcKJ+MRJ3jwhUrvo4s+Un5/0Swo6tHn5nSTvMLYljdGysc7DqRNJrFFF7tz20muV8N MmUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kjHd0Kr0ymQ3a10ENDIboaCgm2YTIHCHTF3U6cm7HUg=; b=YaHsf0QuY2t5B1Ka7haI05/a+oaZtPyqX8dstGTVKYENPN7helc5MEKnhKvCLkj5Vr FffvPUvYxcE3DeEVPmTuuTonivvUEAyQw/Ytk9T68JH5XEJF3x6hqCpgGb8jRdnI0Id+ A+Wd/vmSOtIdTNG8gVu1MI3TIHGR37Hgq56CmLwy0+ZnSjzfM7LzqSj3naoSrSDQI12c 2mMhSLB4fA8X/gG9DJmW3xpAN0qB0Dvpypp2QZk+Dld4RUkLYy1CaoA8R423eE5iYVIs 6P4Ng2GV9nR/Zo2muXZ5gJV5JAT9RncF+0dvCLGp9DWKNHW4TsJ1cG1X4ukCvAH1AoQL Mnpg== X-Gm-Message-State: AOAM532VHiDuXKYOec4XStQmrRvOWyo/Js5EcJuzKBnLYc2RKqcGdH4E 8ZW/Hkny/z65e4xg5ofk+CvFag== X-Google-Smtp-Source: ABdhPJy3MBxnYrFBRaaBIYguino2d8UdpUPEN6l1WISYeWXrbpo1Z2s8FmxmZtMpVhfc7/eojE76kg== X-Received: by 2002:a05:6000:1201:: with SMTP id e1mr18403404wrx.298.1636544795181; Wed, 10 Nov 2021 03:46:35 -0800 (PST) Received: from localhost.localdomain ([149.86.79.190]) by smtp.gmail.com with ESMTPSA id i15sm6241152wmq.18.2021.11.10.03.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 03:46:34 -0800 (PST) From: Quentin Monnet To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko Cc: netdev@vger.kernel.org, bpf@vger.kernel.org, Quentin Monnet Subject: [PATCH bpf-next 0/6] bpftool: miscellaneous fixes Date: Wed, 10 Nov 2021 11:46:26 +0000 Message-Id: <20211110114632.24537-1-quentin@isovalent.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net This set contains several independent minor fixes for bpftool, its Makefile, and its documentation. Please refer to individual commits for details. Quentin Monnet (6): bpftool: Fix memory leak in prog_dump() bpftool: Remove inclusion of utilities.mak from Makefiles bpftool: Use $(OUTPUT) and not $(O) for VMLINUX_BTF_PATHS in Makefile bpftool: Fix indent in option lists in the documentation bpftool: Update the lists of names for maps and prog-attach types bpftool: Fix mixed indentation in documentation tools/bpf/bpftool/Documentation/Makefile | 1 - .../bpf/bpftool/Documentation/bpftool-btf.rst | 2 +- .../bpftool/Documentation/bpftool-cgroup.rst | 12 ++-- .../bpf/bpftool/Documentation/bpftool-gen.rst | 2 +- .../bpftool/Documentation/bpftool-link.rst | 2 +- .../bpf/bpftool/Documentation/bpftool-map.rst | 8 +-- .../bpf/bpftool/Documentation/bpftool-net.rst | 62 +++++++++---------- .../bpftool/Documentation/bpftool-prog.rst | 8 +-- tools/bpf/bpftool/Documentation/bpftool.rst | 6 +- tools/bpf/bpftool/Makefile | 3 +- tools/bpf/bpftool/bash-completion/bpftool | 3 +- tools/bpf/bpftool/common.c | 1 + tools/bpf/bpftool/map.c | 3 +- tools/bpf/bpftool/prog.c | 15 +++-- 14 files changed, 66 insertions(+), 62 deletions(-)