]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0e6dbe5c1a44b418ca87f939066a95d2aee3fd9
tree8970dea4902d77d759756ed968cdd8ce2a5f2ec4
parent490612038d78a4b77652ccee3744369d3c35d64c
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