diff options
| author | Andrii Nakryiko <[email protected]> | 2020-03-11 18:53:45 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-03-13 19:49:51 +0000 |
| commit | 2b5cf9fb74848fe5742a56e872e6847b79933c0b (patch) | |
| tree | dacdbf2b57b6865afe3f14591fe5c8b7d6f7ae42 /scripts/bpf_helpers_doc.py | |
| parent | tools: bpftool: Restore message on failure to guess program type (diff) | |
| download | kernel-2b5cf9fb74848fe5742a56e872e6847b79933c0b.tar.gz kernel-2b5cf9fb74848fe5742a56e872e6847b79933c0b.zip | |
selftests/bpf: Guarantee that useep() calls nanosleep() syscall
Some implementations of C runtime library won't call nanosleep() syscall from
usleep(). But a bunch of kprobe/tracepoint selftests rely on nanosleep being
called to trigger them. To make this more reliable, "override" usleep
implementation and call nanosleep explicitly.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Cc: Julia Kartseva <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions
