projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec24704
)
bpftool: Declare generator name
author
Jason Wang
<jasowang@redhat.com>
Mon, 9 May 2022 09:02:47 +0000
(17:02 +0800)
committer
Andrii Nakryiko
<andrii@kernel.org>
Tue, 10 May 2022 00:42:53 +0000
(17:42 -0700)
Most code generators declare its name so did this for bfptool.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link:
https://lore.kernel.org/bpf/20220509090247.5457-1-jasowang@redhat.com
tools/bpf/bpftool/gen.c
patch
|
blob
|
history
diff --git
a/tools/bpf/bpftool/gen.c
b/tools/bpf/bpftool/gen.c
index 7678af364793f2f209597e9fdd54499679b62524..aa1dc8fdcf4e3f8ede03544f70a25fc0b4dbd621 100644
(file)
--- a/
tools/bpf/bpftool/gen.c
+++ b/
tools/bpf/bpftool/gen.c
@@
-999,7
+999,7
@@
static int do_skeleton(int argc, char **argv)
codegen("\
\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\
#define %2$s \n\
\n\
@@
-1015,7
+1015,7
@@
static int do_skeleton(int argc, char **argv)
\n\
/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ \n\
\n\
- /* THIS FILE IS AUTOGENERATED
! */
\n\
+ /* THIS FILE IS AUTOGENERATED
BY BPFTOOL! */
\n\
#ifndef %2$s \n\
#define %2$s \n\
\n\