selftests/bpf: enable all available cgroup v2 controllers
authorRoman Gushchin <guro@fb.com>
Sat, 25 May 2019 16:37:41 +0000 (09:37 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 28 May 2019 16:30:02 +0000 (09:30 -0700)
commit596092ef8beaa73891da4f406446b283cc566cdb
tree8970dea4902d77d759756ed968cdd8ce2a5f2ec4
parentba0c0cc05dda2c56e23c88e4610ce2ac65ff86ec
selftests/bpf: enable all available cgroup v2 controllers

Enable all available cgroup v2 controllers when setting up
the environment for the bpf kselftests. It's required to properly test
the bpf prog auto-detach feature. Also it will generally increase
the code coverage.

Signed-off-by: Roman Gushchin <guro@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/cgroup_helpers.c