diff options
author | Roman Gushchin <[email protected]> | 2018-08-02 14:27:29 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-08-03 00:47:33 +0200 |
commit | 68cfa3ac6b8db2782300ad0d699da27aaa2ac9fb (patch) | |
tree | cc536853c2a154d2b0f036a840227e2d0f22578a /tools/perf/scripts/python/check-perf-trace.py | |
parent | d4c9f573537506530019c505c8b6097a7d7a5fab (diff) |
selftests/bpf: add a cgroup storage test
Implement a test to cover the cgroup storage functionality.
The test implements a bpf program which drops every second packet
by using the cgroup storage as a persistent storage.
The test also use the userspace API to check the data
in the cgroup storage, alter it, and check that the loaded
and attached bpf program sees the update.
Expected output:
$ ./test_cgroup_storage
test_cgroup_storage:PASS
Signed-off-by: Roman Gushchin <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions