]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bpf: Add cookie to raw_tp bpf_link_info
authorTao Chen <chen.dylane@linux.dev>
Tue, 3 Jun 2025 15:43:07 +0000 (23:43 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 5 Jun 2025 18:44:52 +0000 (11:44 -0700)
commit2fe1c59347369fa856ae259e2fac3c8c8dd9d335
tree70a43181fdcfd4b4fc254d5cbee31116b2e7c2ec
parent7fdaba912981e6fe7585517ccf3b5da59e17592e
bpf: Add cookie to raw_tp bpf_link_info

After commit 68ca5d4eebb8 ("bpf: support BPF cookie in raw tracepoint
(raw_tp, tp_btf) programs"), we can show the cookie in bpf_link_info
like kprobe etc.

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