Commit 93776cb9 authored by Andrii Nakryiko's avatar Andrii Nakryiko Committed by Alexei Starovoitov

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: default avatarAndrey Ignatov <rdna@fb.com>
Signed-off-by: default avatarAndrii Nakryiko <andriin@fb.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
Acked-by: default avatarYonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200710232605.20918-1-andriin@fb.com
parent 7c4bf5fe
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
int build_obj_refs_table(struct obj_refs_table *table, enum bpf_obj_type type) int build_obj_refs_table(struct obj_refs_table *table, enum bpf_obj_type type)
{ {
p_err("bpftool built without PID iterator support");
return -ENOTSUP; return -ENOTSUP;
} }
void delete_obj_refs_table(struct obj_refs_table *table) {} void delete_obj_refs_table(struct obj_refs_table *table) {}
......
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