summaryrefslogtreecommitdiff
path: root/net/xdp/xsk_queue.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2021-03-05 16:40:50 +0300
committerAndrii Nakryiko <andrii@kernel.org>2021-03-08 19:43:20 +0300
commit299194a91451263020c73dd2a3b7e0218c88dbd0 (patch)
tree8b719213f0543bc2f202f6650362fdfe23c6ab8a /net/xdp/xsk_queue.h
parent256becd450172eec74566f1aa7819ce80181d7e1 (diff)
downloadlinux-299194a91451263020c73dd2a3b7e0218c88dbd0.tar.xz
selftests/bpf: Fix test_attach_probe for powerpc uprobes
When testing uprobes we the test gets GEP (Global Entry Point) address from kallsyms, but then the function is called locally so the uprobe is not triggered. Fixing this by adjusting the address to LEP (Local Entry Point) for powerpc arch plus instruction check stolen from ppc_function_entry function pointed out and explained by Michael and Naveen. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Link: https://lore.kernel.org/bpf/20210305134050.139840-1-jolsa@kernel.org
Diffstat (limited to 'net/xdp/xsk_queue.h')
0 files changed, 0 insertions, 0 deletions