diff options
author | Mykola Lysenko <[email protected]> | 2022-03-08 12:04:48 -0800 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2022-03-08 17:39:29 -0800 |
commit | 1fd49864127cd0d33aea8de4cf0858344c9c7265 (patch) | |
tree | fd15ce022a93e365bf892ad506ccedcb85709352 /lib/string_helpers.c | |
parent | d4b540544499d90ac81695e21e354cd5c82fa67e (diff) |
Improve send_signal BPF test stability
Substitute sleep with dummy CPU intensive computation.
Finish aforemention computation as soon as signal was
delivered to the test process. Make the BPF code to
only execute when PID global variable is set
Signed-off-by: Mykola Lysenko <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions