From: Alexei Starovoitov <alexei.starovoitov@gmail.com>
To: Andrii Nakryiko <andriin@fb.com>
Cc: bpf <bpf@vger.kernel.org>,
Network Development <netdev@vger.kernel.org>,
Alexei Starovoitov <ast@fb.com>,
Daniel Borkmann <daniel@iogearbox.net>,
Andrii Nakryiko <andrii.nakryiko@gmail.com>,
Kernel Team <kernel-team@fb.com>, Julia Kartseva <hex@fb.com>
Subject: Re: [PATCH bpf-next] selftests/bpf: guarantee that useep() calls nanosleep() syscall
Date: Thu, 12 Mar 2020 18:16:11 -0700 [thread overview]
Message-ID: <CAADnVQL4++s-_z_DG-1VqxWPFVzfdS8_r3=RLPwiF5XevSncgA@mail.gmail.com> (raw)
In-Reply-To: <20200311185345.3874602-1-andriin@fb.com>
On Wed, Mar 11, 2020 at 11:54 AM Andrii Nakryiko <andriin@fb.com> 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@fb.com>
> Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Applied. Thanks
prev parent reply other threads:[~2020-03-13 1:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-11 18:53 [PATCH bpf-next] selftests/bpf: guarantee that useep() calls nanosleep() syscall Andrii Nakryiko
2020-03-13 1:16 ` Alexei Starovoitov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAADnVQL4++s-_z_DG-1VqxWPFVzfdS8_r3=RLPwiF5XevSncgA@mail.gmail.com' \
--to=alexei.starovoitov@gmail.com \
--cc=andrii.nakryiko@gmail.com \
--cc=andriin@fb.com \
--cc=ast@fb.com \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=hex@fb.com \
--cc=kernel-team@fb.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).