diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-07-11 01:26:04 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-07-14 00:41:05 +0200 |
commit | 93776cb9ee91aeed43ba53dcec97ffed4ae6f1f7 (patch) | |
tree | 5634f14c3bbe16a5edc4fcff14b81b49abfaf090 /tools/bpf | |
parent | Merge branch 'af_xdp-stats' (diff) | |
download | linux-93776cb9ee91aeed43ba53dcec97ffed4ae6f1f7.tar.xz linux-93776cb9ee91aeed43ba53dcec97ffed4ae6f1f7.zip |
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
Diffstat (limited to 'tools/bpf')
-rw-r--r-- | tools/bpf/bpftool/pids.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/pids.c b/tools/bpf/bpftool/pids.c index c0d23ce4a6f4..e3b116325403 100644 --- a/tools/bpf/bpftool/pids.c +++ b/tools/bpf/bpftool/pids.c @@ -15,7 +15,6 @@ 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; } void delete_obj_refs_table(struct obj_refs_table *table) {} |