diff options
| author | Hao Luo <[email protected]> | 2022-08-24 16:31:14 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-08-25 11:35:37 -0700 |
| commit | fe0dd9d4b7402c9773fc7a453fa65875abaa24ec (patch) | |
| tree | a2e9b98b65debf547ea106b5f7a9d82c4351ae0a /tools/perf/scripts/python/check-perf-trace.py | |
| parent | d4ccaf58a8472123ac97e6db03932c375b5c45ba (diff) | |
selftests/bpf: Test cgroup_iter.
Add a selftest for cgroup_iter. The selftest creates a mini cgroup tree
of the following structure:
ROOT (working cgroup)
|
PARENT
/ \
CHILD1 CHILD2
and tests the following scenarios:
- invalid cgroup fd.
- pre-order walk over descendants from PARENT.
- post-order walk over descendants from PARENT.
- walk of ancestors from PARENT.
- process only a single object (i.e. PARENT).
- early termination.
Acked-by: Yonghong Song <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Hao Luo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions