aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-06-06 09:37:17 -0700
committerKees Cook <keescook@chromium.org>2020-07-10 16:01:52 -0700
commit81a0c8bc82be7c15dbf3e54832334552e6b76e2b (patch)
treedae27aec7e1896cf74ab46667f120c8b7cdf51ea /tools/testing/selftests/bpf/prog_tests/autoload.c
parentbc32c9c86581abf7baacf71342df3b0affe367db (diff)
downloadlinux-81a0c8bc82be7c15dbf3e54832334552e6b76e2b.tar.gz
linux-81a0c8bc82be7c15dbf3e54832334552e6b76e2b.tar.bz2
linux-81a0c8bc82be7c15dbf3e54832334552e6b76e2b.zip
selftests/seccomp: Improve calibration loop
The seccomp benchmark calibration loop did not need to take so long. Instead, use a simple 1 second timeout and multiply up to target. It does not need to be accurate. Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions