diff options
| author | Yonghong Song <[email protected]> | 2024-04-01 19:54:46 -0700 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-04-02 16:14:00 +0200 |
| commit | 965c6167c93f3fac53e25807f83c07e87b3c085a (patch) | |
| tree | 611ec4261565516c148aa485c4517b7af8c179fe /tools/perf/scripts/python | |
| parent | 9dc182c58b5f5d4ac125ac85ad553f7142aa08d4 (diff) | |
selftests/bpf: Using llvm may_goto inline asm for cond_break macro
Currently, cond_break macro uses bytes to encode the may_goto insn.
Patch [1] in llvm implemented may_goto insn in BPF backend.
Replace byte-level encoding with llvm inline asm for better usability.
Using llvm may_goto insn is controlled by macro __BPF_FEATURE_MAY_GOTO.
[1] https://github.com/llvm/llvm-project/commit/0e0bfacff71859d1f9212205f8f873d47029d3fb
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions