diff options
author | Yonghong Song <[email protected]> | 2020-08-18 15:23:12 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-08-18 17:36:23 -0700 |
commit | 00fa1d83a8b50351c830521d00135e823c46e7d0 (patch) | |
tree | 586aac21b3840b28a2ad2c76e13dfe7c415b2970 /tools/perf/scripts/python/export-to-sqlite.py | |
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions