diff options
| author | 2020-03-04 20:18:48 +0100 | |
|---|---|---|
| committer | 2020-03-04 13:41:05 -0800 | |
| commit | 7e639208e88d60abf83d48dfda4c0ad325a77b58 (patch) | |
| tree | 77a39fcd235e0282cd23fb6890d488384540685e /tools/include/uapi | |
| parent | bpf: Refactor trampoline update code (diff) | |
| download | linux-dev-7e639208e88d60abf83d48dfda4c0ad325a77b58.tar.xz linux-dev-7e639208e88d60abf83d48dfda4c0ad325a77b58.zip | |
bpf: JIT helpers for fmod_ret progs
* Split the invoke_bpf program to prepare for special handling of
fmod_ret programs introduced in a subsequent patch.
* Move the definition of emit_cond_near_jump and emit_nops as they are
needed for fmod_ret.
* Refactor branch target alignment into its own generic helper function
i.e. emit_align.
Signed-off-by: KP Singh <kpsingh@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200304191853.1529-3-kpsingh@chromium.org
Diffstat (limited to 'tools/include/uapi')
0 files changed, 0 insertions, 0 deletions
