]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bpftool: Remove warning about PID iterator support
authorAndrii Nakryiko <andriin@fb.com>
Fri, 10 Jul 2020 23:26:04 +0000 (16:26 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 13 Jul 2020 22:41:05 +0000 (15:41 -0700)
commitbec4d8e8a36e782c766c9c46de128fa6df941fcc
tree5634f14c3bbe16a5edc4fcff14b81b49abfaf090
parent1dc6c8c5dbdfc9ba3edf055f8aaa06793cec5c54
tools/bpftool: Remove warning about PID iterator support

Don't emit warning that bpftool was built without PID iterator support. This
error garbles JSON output of otherwise perfectly valid show commands.

Reported-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200710232605.20918-1-andriin@fb.com
tools/bpf/bpftool/pids.c