Skip to content

Commit 93776cb

Browse files
anakryikoAlexei Starovoitov
authored and
Alexei Starovoitov
committed
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 <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 7c4bf5f commit 93776cb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/bpf/bpftool/pids.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
int build_obj_refs_table(struct obj_refs_table *table, enum bpf_obj_type type)
1717
{
18-
p_err("bpftool built without PID iterator support");
1918
return -ENOTSUP;
2019
}
2120
void delete_obj_refs_table(struct obj_refs_table *table) {}

0 commit comments

Comments
 (0)