diff options
author | Mykola Lysenko <mykolal@fb.com> | 2022-03-08 23:04:48 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-03-09 04:39:29 +0300 |
commit | 1fd49864127cd0d33aea8de4cf0858344c9c7265 (patch) | |
tree | fd15ce022a93e365bf892ad506ccedcb85709352 /tools/perf/scripts/python/syscall-counts.py | |
parent | d4b540544499d90ac81695e21e354cd5c82fa67e (diff) | |
download | linux-1fd49864127cd0d33aea8de4cf0858344c9c7265.tar.xz |
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 <mykolal@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20220308200449.1757478-3-mykolal@fb.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions