summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/seccomp/seccomp_bpf.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-06-01 22:34:44 +0300
committerKees Cook <keescook@chromium.org>2020-07-11 02:01:52 +0300
commitd3a37ea9f6e548388b83fe895c7a037bc2ec3f7f (patch)
treeea4a43b9b0a6cae083db11b494fe8ba77850b7e6 /tools/testing/selftests/seccomp/seccomp_bpf.c
parentad5682184a811d62e56f07d25d75eeee9dffe3d9 (diff)
downloadlinux-d3a37ea9f6e548388b83fe895c7a037bc2ec3f7f.tar.xz
selftests/seccomp: Expand benchmark to per-filter measurements
It's useful to see how much (at a minimum) each filter adds to the syscall overhead. Add additional calculations. Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'tools/testing/selftests/seccomp/seccomp_bpf.c')
-rw-r--r--tools/testing/selftests/seccomp/seccomp_bpf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/seccomp/seccomp_bpf.c b/tools/testing/selftests/seccomp/seccomp_bpf.c
index fc899cfbca99..d76ae98a34a2 100644
--- a/tools/testing/selftests/seccomp/seccomp_bpf.c
+++ b/tools/testing/selftests/seccomp/seccomp_bpf.c
@@ -3840,7 +3840,6 @@ TEST(user_notification_filter_empty_threaded)
/*
* TODO:
- * - add microbenchmarks
* - expand NNP testing
* - better arch-specific TRACE and TRAP handlers.
* - endianness checking when appropriate
@@ -3848,7 +3847,6 @@ TEST(user_notification_filter_empty_threaded)
* - arch value testing (x86 modes especially)
* - verify that FILTER_FLAG_LOG filters generate log messages
* - verify that RET_LOG generates log messages
- * - ...
*/
TEST_HARNESS_MAIN