aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-03-11 11:53:45 -0700
committerAlexei Starovoitov <[email protected]>2020-03-13 12:49:51 -0700
commit2b5cf9fb74848fe5742a56e872e6847b79933c0b (patch)
treedacdbf2b57b6865afe3f14591fe5c8b7d6f7ae42 /drivers/usb/cdns3/cdns3-debug.h
parent6ae32b29c09ba9b99c4c7317eed029587bd2706d (diff)
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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions