Commit 56c3e749 authored by Jason Wang's avatar Jason Wang Committed by Andrii Nakryiko

bpftool: Declare generator name

Most code generators declare its name so did this for bfptool.
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220509090247.5457-1-jasowang@redhat.com
parent ec247044
...@@ -999,7 +999,7 @@ static int do_skeleton(int argc, char **argv) ...@@ -999,7 +999,7 @@ static int do_skeleton(int argc, char **argv)
codegen("\ codegen("\
\n\ \n\
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ \n\ /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ \n\
/* THIS FILE IS AUTOGENERATED! */ \n\ /* THIS FILE IS AUTOGENERATED BY BPFTOOL! */ \n\
#ifndef %2$s \n\ #ifndef %2$s \n\
#define %2$s \n\ #define %2$s \n\
\n\ \n\
...@@ -1015,7 +1015,7 @@ static int do_skeleton(int argc, char **argv) ...@@ -1015,7 +1015,7 @@ static int do_skeleton(int argc, char **argv)
\n\ \n\
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ \n\ /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ \n\
\n\ \n\
/* THIS FILE IS AUTOGENERATED! */ \n\ /* THIS FILE IS AUTOGENERATED BY BPFTOOL! */ \n\
#ifndef %2$s \n\ #ifndef %2$s \n\
#define %2$s \n\ #define %2$s \n\
\n\ \n\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment