diff options
author | Jiri Benc <jbenc@redhat.com> | 2018-03-08 23:00:35 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-03-09 10:22:59 +0100 |
commit | 72ab55e96ebc00d68501f5cda59478ed7cf7e484 (patch) | |
tree | 3dc7acd90d17b762d7a45b89c43e936b3ea041df /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 12ef9bda06a5536fc377bab636074848799d7749 (diff) |
tools: bpftool: silence 'missing initializer' warnings
When building bpf tool, gcc emits piles of warnings:
prog.c: In function ‘prog_fd_by_tag’:
prog.c:101:9: warning: missing initializer for field ‘type’ of ‘struct bpf_prog_info’ [-Wmissing-field-initializers]
struct bpf_prog_info info = {};
^
In file included from /home/storage/jbenc/git/net-next/tools/lib/bpf/bpf.h:26:0,
from prog.c:47:
/home/storage/jbenc/git/net-next/tools/include/uapi/linux/bpf.h:925:8: note: ‘type’ declared here
__u32 type;
^
As these warnings are not useful, switch them off.
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions