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 AD6A4C43334 for ; Wed, 13 Jul 2022 13:41:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234853AbiGMNlW (ORCPT ); Wed, 13 Jul 2022 09:41:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235765AbiGMNlI (ORCPT ); Wed, 13 Jul 2022 09:41:08 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CC740140FB; Wed, 13 Jul 2022 06:41:06 -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 8586320B4774; Wed, 13 Jul 2022 06:41:03 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 8586320B4774 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1657719666; bh=wwXl2pXd0KeNkT/apqiGc5odVL9Sy80l9aY3+JEqLZU=; h=From:To:Cc:Subject:Date:From; b=cqpAlF4tox83dOd76JAo+t7eDHmS+xiLAyKHs8tGirEMAMX2AUeaozdM0vT5ejteo NLPHUZ3hhfsu0FGmeENHBJJaRkhIXI8JhYmVDS2DYUwPctyu7ojLYsADifx8+Yj90r pcwjOAK/BZSvTjuGWP+TEI893XSH0VKNjQi2ZKns= 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: [RFC PATCH v2 0/1] bpftool: Align dumped file headers with skeletons Date: Wed, 13 Jul 2022 15:40:45 +0200 Message-Id: <20220713134046.15020-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: bpf@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. Francis Laniel (1): bpftool: Align dumped file generated header with skeletons. tools/bpf/bpftool/btf.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) -- 2.25.1