From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 226F4C433EF for ; Wed, 13 Jul 2022 14:45:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236352AbiGMOpB (ORCPT ); Wed, 13 Jul 2022 10:45:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230496AbiGMOpA (ORCPT ); Wed, 13 Jul 2022 10:45:00 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9DA2D24978; Wed, 13 Jul 2022 07:44:59 -0700 (PDT) Received: from pwmachine.numericable.fr (240.119.92.79.rev.sfr.net [79.92.119.240]) by linux.microsoft.com (Postfix) with ESMTPSA id 8E2A3204DE96; Wed, 13 Jul 2022 07:44:56 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 8E2A3204DE96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1657723499; bh=2e3sFwQILAX9gG6pvz+wM8ek2MYvG5zYe7GrTO14Aj8=; h=From:To:Cc:Subject:Date:From; b=c+xs6rr1Tg+X+M98bIZEZp+L8wcOyva8Pp29Oi7ts8ABsBgCl1seu6e1wSJj43Hkc g6hM0sYHydDGcIExk2Cw6XzhIVT81yOKBmQIZvtPlP7xhEOm7knKBmRSEuWwSZJDAJ Ed8qlM73BzRaGQJzeWRz/U6So/WEnRD2dAuLEHE4= From: Francis Laniel To: bpf@vger.kernel.org Cc: Francis Laniel , Quentin Monnet , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , linux-kernel@vger.kernel.org (open list) Subject: [PATCH v3 0/1] bpftool: Align dumped file headers with skeletons Date: Wed, 13 Jul 2022 16:44:37 +0200 Message-Id: <20220713144439.19738-1-flaniel@linux.microsoft.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi. First, I hope you are fine and the same for your relatives. In this patch, I aligned dumped C file headers with that of skeletons, so the first lines of C dumped files are the following: /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ /* THIS FILE IS AUTOGENERATED BY BPFTOOL! */ #ifndef __VMLINUX_H__ #define __VMLINUX_H__ The goal is to warn users this file must not be edited as it was automatically generated. Indeed, skeletons also contain the same message. This patch is clearly not a big change which impacts the future of bpftool but I think it could be welcomed. If you see any way to improve it or have any question, feel free to ask. Change since: v1: * Drop command used to generate the file and use the same warning message as skeletons. * Add SPDX license. v2: * Drop RFC tag. * Add Quentin Monnet Reviewed-By tag. Francis Laniel (1): bpftool: Align dumped file generated header with skeletons. tools/bpf/bpftool/btf.c | 2 ++ 1 file changed, 2 insertions(+) Best regards and thank you in advance. -- 2.25.1