projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'powerpc-5.9-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux-2.6-microblaze.git]
/
tools
/
bpf
/
bpftool
/
pids.c
diff --git
a/tools/bpf/bpftool/pids.c
b/tools/bpf/bpftool/pids.c
index
e3b1163
..
df7d8ec
100644
(file)
--- a/
tools/bpf/bpftool/pids.c
+++ b/
tools/bpf/bpftool/pids.c
@@
-134,6
+134,8
@@
int build_obj_refs_table(struct obj_refs_table *table, enum bpf_obj_type type)
while (true) {
ret = read(fd, buf, sizeof(buf));
if (ret < 0) {
+ if (errno == EAGAIN)
+ continue;
err = -errno;
p_err("failed to read PID iterator output: %d", err);
goto out;