aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorJohan Almbladh <[email protected]>2021-09-14 09:18:42 +0000
committerDaniel Borkmann <[email protected]>2021-09-28 07:26:29 +0000
commit29eef85be2f60b1027214b4bfc4b1a9d592830a7 (patch)
treef4d3eef9f2a898a2c35739b21c3f2885055b40f5 /tools/lib/bpf/libbpf.c
parentbpf/tests: Fix error in tail call limit tests (diff)
downloadkernel-29eef85be2f60b1027214b4bfc4b1a9d592830a7.tar.gz
kernel-29eef85be2f60b1027214b4bfc4b1a9d592830a7.zip
bpf/tests: Add tail call limit test with external function call
This patch adds a tail call limit test where the program also emits a BPF_CALL to an external function prior to the tail call. Mainly testing that JITed programs preserve its internal register state, for example tail call count, across such external calls. Signed-off-by: Johan Almbladh <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions