libbpf: Rename bpf_prog_attach_xattr() to bpf_prog_attach_opts()
authorChristy Lee <christylee@fb.com>
Fri, 7 Jan 2022 18:46:03 +0000 (10:46 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 13 Jan 2022 01:01:37 +0000 (17:01 -0800)
commitd6c9c24e891216890264320f5534051fd196ace8
treea3fe9c67028eaa9fa62d5ad36e3cb5c38e114284
parent622a5b582cc27d3deedc38fcef68da2972e8e58d
libbpf: Rename bpf_prog_attach_xattr() to bpf_prog_attach_opts()

All xattr APIs are being dropped, let's converge to the convention used in
high-level APIs and rename bpf_prog_attach_xattr to bpf_prog_attach_opts.

Signed-off-by: Christy Lee <christylee@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220107184604.3668544-2-christylee@fb.com
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h
tools/lib/bpf/libbpf.map