diff options
| author | Sargun Dhillon <[email protected]> | 2016-12-02 02:42:32 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-12-03 16:07:52 -0500 |
| commit | 9b474ecee5e154d88520306412b2de9d48c97dba (patch) | |
| tree | 6998ed963fc43d89eb59bfad4a3c30c5b5494477 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 1a922fee66c8a691bfec738b6a5694b2dbb2177d (diff) | |
samples, bpf: Add automated test for cgroup filter attachments
This patch adds the sample program test_cgrp2_attach2. This program is
similar to test_cgrp2_attach, but it performs automated testing of the
cgroupv2 BPF attached filters. It runs the following checks:
* Simple filter attachment
* Application of filters to child cgroups
* Overriding filters on child cgroups
* Checking that this still works when the parent filter is removed
The filters that are used here are simply allow all / deny all filters, so
it isn't checking the actual functionality of the filters, but rather
the behaviour around detachment / attachment. If net_cls is enabled,
this test will fail.
Signed-off-by: Sargun Dhillon <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions