libbpf: Deprecate bpf_prog_test_run_xattr and bpf_prog_test_run
authorDelyan Kratunov <delyank@fb.com>
Wed, 2 Feb 2022 23:54:23 +0000 (15:54 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 3 Feb 2022 06:31:18 +0000 (22:31 -0800)
commit3e1ab843d2d4d2d4e67f9488c1497aedc014328a
treee49d75e3c6c9b5a39972450a485ea8d5c1c1e081
parent9cce53138dd9ee8bd7354196297df24130f3529d
libbpf: Deprecate bpf_prog_test_run_xattr and bpf_prog_test_run

Deprecate non-extendable bpf_prog_test_run{,_xattr} in favor of
OPTS-based bpf_prog_test_run_opts ([0]).

  [0] Closes: https://github.com/libbpf/libbpf/issues/286

Signed-off-by: Delyan Kratunov <delyank@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220202235423.1097270-5-delyank@fb.com
tools/lib/bpf/bpf.h