aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorSami Tolvanen <[email protected]>2021-04-08 11:28:41 -0700
committerKees Cook <[email protected]>2021-04-08 16:04:23 -0700
commit800618f955a9647d8e03b9a367da974f7eecb120 (patch)
tree117f7b9e79b0ad5f40ab6fa6cbc3bd041761a90a /tools/testing/selftests/bpf/prog_tests
parent9562f3dc6f502d78fd5c8c56f5826e93b781bd46 (diff)
arm64: ftrace: use function_nocfi for ftrace_call
With CONFIG_CFI_CLANG, the compiler replaces function pointers with jump table addresses, which breaks dynamic ftrace as the address of ftrace_call is replaced with the address of ftrace_call.cfi_jt. Use function_nocfi() to get the address of the actual function instead. Suggested-by: Ben Dai <[email protected]> Signed-off-by: Sami Tolvanen <[email protected]> Acked-by: Mark Rutland <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions