Message ID | 20240820102357.3372779-1-eddyz87@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | __jited test tag to check disassembly after jit | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>: On Tue, 20 Aug 2024 03:23:48 -0700 you wrote: > Some of the logic in the BPF jits might be non-trivial. > It might be useful to allow testing this logic by comparing > generated native code with expected code template. > This patch set adds a macro __jited() that could be used for > test_loader based tests in a following manner: > > SEC("tp") > __arch_x86_64 > __jited(" endbr64") > __jited(" nopl (%rax,%rax)") > __jited(" xorq %rax, %rax") > ... > __naked void some_test(void) { ... } > > [...] Here is the summary with links: - [bpf-next,v3,1/8] selftests/bpf: less spam in the log for message matching https://git.kernel.org/bpf/bpf-next/c/7d41dad105b6 - [bpf-next,v3,2/8] selftests/bpf: correctly move 'log' upon successful match https://git.kernel.org/bpf/bpf-next/c/d0a29cdb6ef9 - [bpf-next,v3,3/8] selftests/bpf: fix to avoid __msg tag de-duplication by clang https://git.kernel.org/bpf/bpf-next/c/f00bb757ed63 - [bpf-next,v3,4/8] selftests/bpf: replace __regex macro with "{{...}}" patterns https://git.kernel.org/bpf/bpf-next/c/f8d161756d42 - [bpf-next,v3,5/8] selftests/bpf: utility function to get program disassembly after jit https://git.kernel.org/bpf/bpf-next/c/b991fc520700 - [bpf-next,v3,6/8] selftests/bpf: __jited test tag to check disassembly after jit https://git.kernel.org/bpf/bpf-next/c/7d743e4c759c - [bpf-next,v3,7/8] selftests/bpf: validate jit behaviour for tail calls https://git.kernel.org/bpf/bpf-next/c/e5bdd6a8be78 - [bpf-next,v3,8/8] selftests/bpf: validate __xlated same way as __jited https://git.kernel.org/bpf/bpf-next/c/a038eacdbf59 You are awesome, thank you!