OSDN Git Service

ftrace: Add HAVE_DYNAMIC_FTRACE_NO_PATCHABLE
authorPeter Zijlstra (Intel) <peterz@infradead.org>
Sat, 3 Sep 2022 13:11:53 +0000 (15:11 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 16 Sep 2022 20:16:48 +0000 (22:16 +0200)
commit9440155ccb948f8e3ce5308907a2e7378799be60
treefa81b71d963b1d9ad87a5ced2571c932855cd035
parentbfeb7e399bacae4ee46ad978f5fce3e47f0978d6
ftrace: Add HAVE_DYNAMIC_FTRACE_NO_PATCHABLE

x86 will shortly start using -fpatchable-function-entry for purposes
other than ftrace, make sure the __patchable_function_entry section
isn't merged in the mcount_loc section.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220903131154.420467-2-jolsa@kernel.org
include/asm-generic/vmlinux.lds.h
kernel/trace/Kconfig
tools/objtool/check.c