]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Modify a test to check global functions
authorAlexei Starovoitov <ast@kernel.org>
Fri, 10 Jan 2020 06:41:23 +0000 (22:41 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 10 Jan 2020 16:20:07 +0000 (17:20 +0100)
commit73c69b46d5d37c8d81ee583f4f269fb3898843af
tree2346cc0b08cf7c97fd40779a38d1fdfb05ea6b0e
parent6e2bd7d8e7945ecfaac2d91f2e3bc891d5ca4816
selftests/bpf: Modify a test to check global functions

Make two static functions in test_xdp_noinline.c global:
before: processed 2790 insns
after: processed 2598 insns

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/20200110064124.1760511-6-ast@kernel.org
tools/testing/selftests/bpf/progs/test_xdp_noinline.c