linux-uconsole/tools/bpf/bpftool
Yonghong Song 00fa1d83a8 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
2020-08-18 17:36:23 -07:00
..
bash-completion tools/bpftool: Add documentation and bash-completion for link detach 2020-08-01 20:38:29 -07:00
Documentation tools/bpftool: Add documentation and bash-completion for link detach 2020-08-01 20:38:29 -07:00
skeleton samples/bpf, selftests/bpf: Use bpf_probe_read_kernel 2020-07-21 13:26:26 -07:00
.gitignore
btf.c tools/bpftool: Use libbpf's btf__parse() API for parsing BTF from file 2020-08-03 16:39:48 +02:00
btf_dumper.c tools/bpftool: Fix compilation warnings in 32-bit mode 2020-08-13 16:45:41 -07:00
cfg.c
cfg.h
cgroup.c
common.c bpftool: Use only nftw for file tree parsing 2020-07-21 23:42:56 +02:00
feature.c tools, bpftool: Skip type probe if name is not found 2020-07-27 22:40:25 +02:00
gen.c tools/bpftool: Generate data section struct with conservative alignment 2020-08-13 16:45:41 -07:00
iter.c tools/bpf: Support new uapi for map element bpf iterator 2020-08-06 16:39:14 -07:00
jit_disasm.c
json_writer.c
json_writer.h
link.c tools/bpftool: Fix compilation warnings in 32-bit mode 2020-08-13 16:45:41 -07:00
main.c
main.h tools/bpftool: Fix compilation warnings in 32-bit mode 2020-08-13 16:45:41 -07:00
Makefile tools/bpftool: Strip BPF .o files before skeleton generation 2020-07-25 20:15:32 -07:00
map.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-07-04 17:48:34 -07:00
map_perf_ring.c
net.c
netlink_dumper.c
netlink_dumper.h
perf.c
pids.c bpftool: Handle EAGAIN error code properly in pids collection 2020-08-18 17:36:23 -07:00
prog.c tools/bpftool: Fix compilation warnings in 32-bit mode 2020-08-13 16:45:41 -07:00
struct_ops.c
tracelog.c
xlated_dumper.c
xlated_dumper.h