summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2021-04-08 21:28:41 +0300
committerKees Cook <keescook@chromium.org>2021-04-09 02:04:23 +0300
commit800618f955a9647d8e03b9a367da974f7eecb120 (patch)
tree117f7b9e79b0ad5f40ab6fa6cbc3bd041761a90a /tools/perf/scripts/python/syscall-counts.py
parent9562f3dc6f502d78fd5c8c56f5826e93b781bd46 (diff)
downloadlinux-800618f955a9647d8e03b9a367da974f7eecb120.tar.xz
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 <ben.dai@unisoc.com> Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Tested-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20210408182843.1754385-17-samitolvanen@google.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions