bpf: Add cookie to raw_tp bpf_link_info

After commit 68ca5d4eeb ("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
This commit is contained in:
Tao Chen 2025-06-03 23:43:07 +08:00 • committed by Andrii Nakryiko
commit 2fe1c59347
3 changed files with 5 additions and 0 deletions