summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorKP Singh <kpsingh@google.com>2020-03-04 20:18:48 +0100
committerAlexei Starovoitov <ast@kernel.org>2020-03-04 13:41:05 -0800
commit7e639208e88d60abf83d48dfda4c0ad325a77b58 (patch)
tree77a39fcd235e0282cd23fb6890d488384540685e /tools/include
parent88fd9e5352fe05f7fe57778293aebd4cd106960b (diff)
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')
0 files changed, 0 insertions, 0 deletions