commit | 00fa1d83a8b50351c830521d00135e823c46e7d0 | [log] [tgz] |
---|---|---|
author | Yonghong Song <yhs@fb.com> | Tue Aug 18 15:23:12 2020 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Tue Aug 18 17:36:23 2020 -0700 |
tree | 586aac21b3840b28a2ad2c76e13dfe7c415b2970 | |
parent | e60572b8d4c39572be6857d1ec91fdf979f8775f [diff] |
bpftool: Handle EAGAIN error code properly in pids collection When the error code is EAGAIN, the kernel signals the user space should retry the read() operation for bpf iterators. Let us do it. Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200818222312.2181675-1-yhs@fb.com