]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Add kernel test functions for fentry testing
authorAlexei Starovoitov <ast@kernel.org>
Thu, 14 Nov 2019 18:57:08 +0000 (10:57 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 15 Nov 2019 22:43:01 +0000 (23:43 +0100)
commitd5e132478aad3bb8c46bedb351876e48dc9bf737
treef9ee80180d03b1ebfb48142df6290336516da5d9
parentaf3fefb1d6842b51a8e14bdd993a0e638d53acb1
bpf: Add kernel test functions for fentry testing

Add few kernel functions with various number of arguments,
their types and sizes for BPF trampoline testing to cover
different calling conventions.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20191114185720.1641606-9-ast@kernel.org
net/bpf/test_run.c