diff options
author | Yucong Sun <sunyucong@gmail.com> | 2021-10-06 20:56:09 +0200 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-10-08 23:45:18 +0200 |
commit | e87c3434f81ae566693cfdc22370dc938b2989dd (patch) | |
tree | 6acab3a4dce1f6a2422ca2c5cf95172965055fd1 /tools/testing/selftests/bpf/cgroup_helpers.h | |
parent | selftests/bpf: Allow some tests to be executed in sequence (diff) | |
download | linux-e87c3434f81ae566693cfdc22370dc938b2989dd.tar.xz linux-e87c3434f81ae566693cfdc22370dc938b2989dd.zip |
selftests/bpf: Add per worker cgroup suffix
This patch make each worker use a unique cgroup base directory, thus
allowing tests that uses cgroups to run concurrently.
Signed-off-by: Yucong Sun <sunyucong@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211006185619.364369-5-fallentree@fb.com
Diffstat (limited to '')
-rw-r--r-- | tools/testing/selftests/bpf/cgroup_helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/cgroup_helpers.h b/tools/testing/selftests/bpf/cgroup_helpers.h index 629da3854b3e..fcc9cb91b211 100644 --- a/tools/testing/selftests/bpf/cgroup_helpers.h +++ b/tools/testing/selftests/bpf/cgroup_helpers.h @@ -26,4 +26,4 @@ int join_classid(void); int setup_classid_environment(void); void cleanup_classid_environment(void); -#endif /* __CGROUP_HELPERS_H */ +#endif /* __CGROUP_HELPERS_H */
\ No newline at end of file |