selftests/bpf: add bpf_spin_lock C test
authorAlexei Starovoitov <ast@kernel.org>
Thu, 31 Jan 2019 23:40:08 +0000 (15:40 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 1 Feb 2019 19:55:39 +0000 (20:55 +0100)
commitab963beb9f5db303b4fd7e34e422b96270e5b972
treef2b57c8f929146cb454a8f2255c54af708286aa7
parentb4d4556c32667728c9737619580b6ade695027e0
selftests/bpf: add bpf_spin_lock C test

add bpf_spin_lock C based test that requires latest llvm with BTF support

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/bpf_helpers.h
tools/testing/selftests/bpf/test_progs.c
tools/testing/selftests/bpf/test_spin_lock.c [new file with mode: 0644]