diff options
author | 2020-12-04 12:36:09 +0100 | |
---|---|---|
committer | 2020-12-04 22:32:40 +0100 | |
commit | 34da87213d3ddd26643aa83deff7ffc6463da0fc (patch) | |
tree | 8dca2f1c1cfefc0fe847186de2ad1feaf1e420e1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/bpf: Add an iterator selftest for bpf_sk_storage_get (diff) | |
download | wireguard-linux-34da87213d3ddd26643aa83deff7ffc6463da0fc.tar.xz wireguard-linux-34da87213d3ddd26643aa83deff7ffc6463da0fc.zip |
selftests/bpf: Test bpf_sk_storage_get in tcp iterators
This extends the existing bpf_sk_storage_get test where a socket is
created and tagged with its creator's pid by a task_file iterator.
A TCP iterator is now also used at the end of the test to negate the
values already stored in the local storage. The test therefore expects
-getpid() to be stored in the local storage.
Signed-off-by: Florent Revest <revest@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yhs@fb.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20201204113609.1850150-6-revest@google.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions