bpf: Add cookie to tracing bpf_link_info
authorTao Chen <chen.dylane@linux.dev>
Fri, 6 Jun 2025 16:58:14 +0000 (00:58 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 9 Jun 2025 23:45:17 +0000 (16:45 -0700)
commitc7beb48344d2ea0f3f1869b078309dbeb2ed4c96
tree424bdfae6c6ce20641a8a71adc50a3df1ebe146e
parentf3effef2e8976c6b0edfd849129417ad3b5eab00
bpf: Add cookie to tracing bpf_link_info

bpf_tramp_link includes cookie info, we can add it in bpf_link_info.

Signed-off-by: Tao Chen <chen.dylane@linux.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250606165818.3394397-1-chen.dylane@linux.dev
include/uapi/linux/bpf.h
kernel/bpf/syscall.c
tools/include/uapi/linux/bpf.h