diff options
author | Roman Gushchin <guro@fb.com> | 2019-05-25 18:37:40 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-05-28 18:30:02 +0200 |
commit | ba0c0cc05dda2c56e23c88e4610ce2ac65ff86ec (patch) | |
tree | 0cd94982943eb2a36f4b1f645a4357533343896d /tools/debugging | |
parent | bpf: decouple the lifetime of cgroup_bpf from cgroup itself (diff) | |
download | linux-ba0c0cc05dda2c56e23c88e4610ce2ac65ff86ec.tar.xz linux-ba0c0cc05dda2c56e23c88e4610ce2ac65ff86ec.zip |
selftests/bpf: convert test_cgrp2_attach2 example into kselftest
Convert test_cgrp2_attach2 example into a proper test_cgroup_attach
kselftest. It's better because we do run kselftest on a constant
basis, so there are better chances to spot a potential regression.
Also make it slightly less verbose to conform kselftests output style.
Output example:
$ ./test_cgroup_attach
#override:PASS
#multi:PASS
test_cgroup_attach:PASS
Signed-off-by: Roman Gushchin <guro@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/debugging')
0 files changed, 0 insertions, 0 deletions