diff options
| author | Hou Tao <[email protected]> | 2024-01-05 18:48:19 +0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-01-23 14:40:21 -0800 |
| commit | 17bda53e43bc41d881ca6a02b3c6f5376c55b3d3 (patch) | |
| tree | 5bcce9245203d486367b3b41f121cb9ee14b8ab7 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | b4b7a4099b8ccea224577003fcf9d321bf0817b7 (diff) | |
selftests/bpf: Test the inlining of bpf_kptr_xchg()
The test uses bpf_prog_get_info_by_fd() to obtain the xlated
instructions of the program first. Since these instructions have
already been rewritten by the verifier, the tests then checks whether
the rewritten instructions are as expected. And to ensure LLVM generates
code exactly as expected, use inline assembly and a naked function.
Suggested-by: Eduard Zingerman <[email protected]>
Signed-off-by: Hou Tao <[email protected]>
Acked-by: Eduard Zingerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions