aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2021-07-07 15:38:48 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2021-07-09 12:08:40 +0200
commit1fb5ba29ad0835c5cbfc69a27f9c2733cb65726e (patch)
treea5eb64721247147d3aa1ee5c3d26954ab6743588 /tools/perf/util/c++/clang.cpp
parentf263a81451c12da5a342d90572e317e611846f2c (diff)
bpf: Selftest to verify mixing bpf2bpf calls and tailcalls with insn patch
This adds some extra noise to the tailcall_bpf2bpf4 tests that will cause verify to patch insns. This then moves around subprog start/end insn index and poke descriptor insn index to ensure that verify and JIT will continue to track these correctly. If done correctly verifier should pass this program same as before and JIT should emit tail call logic. Signed-off-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20210707223848.14580-3-john.fastabend@gmail.com
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions