]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: add selftest for lirc_mode2 type program
authorSean Young <sean@mess.org>
Sun, 27 May 2018 11:24:10 +0000 (12:24 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 30 May 2018 10:40:14 +0000 (12:40 +0200)
commit52a523bf3803649cbcfbd27a58934a73fc8fcdb4
treea153475f8949a8c9d6340b4f52c37b8912d0622d
parentcc529e6b40db67fde816ee5ee3c6dfc8c37bc8f3
bpf: add selftest for lirc_mode2 type program

This is simple test over rc-loopback.

Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/bpf/bpftool/prog.c
tools/include/uapi/linux/bpf.h
tools/include/uapi/linux/lirc.h [new file with mode: 0644]
tools/lib/bpf/libbpf.c
tools/testing/selftests/bpf/.gitignore
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/bpf_helpers.h
tools/testing/selftests/bpf/test_lirc_mode2.sh [new file with mode: 0755]
tools/testing/selftests/bpf/test_lirc_mode2_kern.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_lirc_mode2_user.c [new file with mode: 0644]