diff options
author | Florent Revest <revest@chromium.org> | 2021-02-10 12:14:03 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-02-12 02:44:41 +0100 |
commit | c5dbb89fc2ac013afe67b9e4fcb3743c02b567cd (patch) | |
tree | 717c986e70611b002a57850957d7132121c7ec9f /scripts/gen_autoksyms.sh | |
parent | bpf: Be less specific about socket cookies guarantees (diff) | |
download | linux-c5dbb89fc2ac013afe67b9e4fcb3743c02b567cd.tar.xz linux-c5dbb89fc2ac013afe67b9e4fcb3743c02b567cd.zip |
bpf: Expose bpf_get_socket_cookie to tracing programs
This needs a new helper that:
- can work in a sleepable context (using sock_gen_cookie)
- takes a struct sock pointer and checks that it's not NULL
Signed-off-by: Florent Revest <revest@chromium.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: KP Singh <kpsingh@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210210111406.785541-2-revest@chromium.org
Diffstat (limited to 'scripts/gen_autoksyms.sh')
0 files changed, 0 insertions, 0 deletions