bpf: Remove attach_type in bpf_tracing_link
authorTao Chen <chen.dylane@linux.dev>
Thu, 10 Jul 2025 03:20:37 +0000 (11:20 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 11 Jul 2025 18:01:08 +0000 (11:01 -0700)
commit0eeeebdcc5feeec48118f7a3df2ac818e694ccc7
tree6b205b0357200830449303f9a8c42760b11534ce
parent2a76a80c7ffc9894b90126af7b17584195b40b7a
bpf: Remove attach_type in bpf_tracing_link

Use attach_type in bpf_link, and remove it in bpf_tracing_link.

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/20250710032038.888700-7-chen.dylane@linux.dev
include/linux/bpf.h
kernel/bpf/syscall.c