diff options
author | Martin KaFai Lau <kafai@fb.com> | 2020-11-12 13:13:20 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-11-12 18:39:28 -0800 |
commit | 53632e11194663b7d5b043a68648892e593dc102 (patch) | |
tree | 013d598a2b1901aad298f7358bc1b016e91ed85e /scripts/bpf_helpers_doc.py | |
parent | 8e4597c627fb48f361e2a5b012202cb1b6cbcd5e (diff) |
bpf: selftest: Use bpf_sk_storage in FENTRY/FEXIT/RAW_TP
This patch tests storing the task's related info into the
bpf_sk_storage by fentry/fexit tracing at listen, accept,
and connect. It also tests the raw_tp at inet_sock_set_state.
A negative test is done by tracing the bpf_sk_storage_free()
and using bpf_sk_storage_get() at the same time. It ensures
this bpf program cannot load.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20201112211320.2587537-1-kafai@fb.com
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions