summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-01-13 08:31:39 +0100
committerAlexei Starovoitov <ast@kernel.org>2020-01-14 02:48:13 +0100
commit292e1d73b125d7a3fd7ff382557e003ece3c0d65 (patch)
tree808d3cd36b91f34f2724e9dcdf3924ba56bdac57 /scripts
parenttools: Sync uapi/linux/if_link.h (diff)
downloadlinux-292e1d73b125d7a3fd7ff382557e003ece3c0d65.tar.xz
linux-292e1d73b125d7a3fd7ff382557e003ece3c0d65.zip
libbpf: Clean up bpf_helper_defs.h generation output
bpf_helpers_doc.py script, used to generate bpf_helper_defs.h, unconditionally emits one informational message to stderr. Remove it and preserve stderr to contain only relevant errors. Also make sure script invocations command is muted by default in libbpf's Makefile. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200113073143.1779940-3-andriin@fb.com
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bpf_helpers_doc.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/bpf_helpers_doc.py b/scripts/bpf_helpers_doc.py
index 7548569e8076..90baf7d70911 100755
--- a/scripts/bpf_helpers_doc.py
+++ b/scripts/bpf_helpers_doc.py
@@ -158,8 +158,6 @@ class HeaderParser(object):
break
self.reader.close()
- print('Parsed description of %d helper function(s)' % len(self.helpers),
- file=sys.stderr)
###############################################################################