diff options
| author | Florent Revest <[email protected]> | 2021-02-10 12:14:06 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-02-11 17:44:41 -0800 |
| commit | 6fdd671baaf587cca17603485f9ef4bf7a1f9be1 (patch) | |
| tree | 904356219a31ab6feeed959b03fd47be8d28349f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 6cd4dcc3fb8198fff6e6c2d7c622f78649fa2474 (diff) | |
selftests/bpf: Add a selftest for the tracing bpf_get_socket_cookie
This builds up on the existing socket cookie test which checks whether
the bpf_get_socket_cookie helpers provide the same value in
cgroup/connect6 and sockops programs for a socket created by the
userspace part of the test.
Instead of having an update_cookie sockops program tag a socket local
storage with 0xFF, this uses both an update_cookie_sockops program and
an update_cookie_tracing program which succesively tag the socket with
0x0F and then 0xF0.
Signed-off-by: Florent Revest <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: KP Singh <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions