On Wed, Nov 28, 2018 at 04:53:11PM +0000, Lorenz Bauer wrote: > Add a new function, which encourages safe usage of the test interface. > bpf_prog_test_run continues to work as before, but should be considered > unsafe. > > Signed-off-by: Lorenz Bauer <lmb@xxxxxxxxxxxxxx> .. > + > +LIBBPF_API int bpf_prog_test_run_xattr(struct bpf_prog_test_run_attr *test_attr); it fails to be build due to: LINK tools/testing/selftests/bpf/test_libbpf (117) does NOT match with num of versioned symbols in testing/selftests/bpf/libbpf.so (116). Please make sure all LIBBPF_API symbols are versioned in libbpf.map. Please fixup and respin. The rest looks good.