Re: [PATCH bpf-next] selftests/bpf: guarantee that useep() calls nanosleep() syscall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 11, 2020 at 11:54 AM Andrii Nakryiko <andriin@xxxxxx> wrote:
>
> 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.
>
> Cc: Julia Kartseva <hex@xxxxxx>
> Signed-off-by: Andrii Nakryiko <andriin@xxxxxx>

Applied. Thanks



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux