aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2020-01-23 17:15:07 +0100
committerAlexei Starovoitov <ast@kernel.org>2020-01-25 07:12:40 -0800
commite9b4e606c2289d6610113253922bb8c9ac7f68b0 (patch)
tree93b15ceadb74925c45742b98e876fe573f5bd74a /tools/testing/selftests/bpf
parentbpf: Allow BTF ctx access for string pointers (diff)
downloadlinux-dev-e9b4e606c2289d6610113253922bb8c9ac7f68b0.tar.xz
linux-dev-e9b4e606c2289d6610113253922bb8c9ac7f68b0.zip
bpf: Allow to resolve bpf trampoline and dispatcher in unwind
When unwinding the stack we need to identify each address to successfully continue. Adding latch tree to keep trampolines for quick lookup during the unwind. The patch uses first 48 bytes for latch tree node, leaving 4048 bytes from the rest of the page for trampoline or dispatcher generated code. It's still enough not to affect trampoline and dispatcher progs maximum counts. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200123161508.915203-3-jolsa@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf')
0 files changed, 0 insertions, 0 deletions