Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1675609
| From | "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] x86/ftrace: Exclude functions in head64.c from function-tracing |
| Date | 2017-06-27 14:10 +0200 |
| Message-ID | <tWXtE-hF-13@gated-at.bofh.it> (permalink) |
| References | <tWPw6-37c-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
We've moved most logic of early boot up from startup_64() written in assembly to __startup_64() written in C. Fengguang reported breakage due to the change. It was tracked down to CONFIG_FUNCTION_TRACER being enabled. Looks like function-tracing of the new code is harmful. Let's not comple the code with -pg compiler option. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Reported-by: Fengguang Wu <fengguang.wu@intel.com> Cc: Steven Rostedt <rostedt@goodmis.org> --- arch/x86/kernel/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 4b994232cb57..0db512092f37 100644 --- a/arch/x86/kernel/Makefile +++ b/arch/x86/kernel/Makefile @@ -18,6 +18,7 @@ CFLAGS_REMOVE_pvclock.o = -pg CFLAGS_REMOVE_kvmclock.o = -pg CFLAGS_REMOVE_ftrace.o = -pg CFLAGS_REMOVE_early_printk.o = -pg +CFLAGS_REMOVE_head64.o = -pg endif KASAN_SANITIZE_head$(BITS).o := n -- 2.11.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] x86/ftrace: Exclude functions in head64.c from function-tracing "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2017-06-27 14:10 +0200
Re: [PATCH] x86/ftrace: Exclude functions in head64.c from function-tracing Steven Rostedt <rostedt@goodmis.org> - 2017-06-27 15:40 +0200
Re: [PATCH] x86/ftrace: Exclude functions in head64.c from function-tracing "Kirill A. Shutemov" <kirill@shutemov.name> - 2017-06-27 16:50 +0200
Re: [PATCH] x86/ftrace: Exclude functions in head64.c from function-tracing Steven Rostedt <rostedt@goodmis.org> - 2017-06-27 17:00 +0200
[tip:x86/mm] x86/ftrace: Exclude functions in head64.c from function-tracing "tip-bot for Kirill A. Shutemov" <tipbot@zytor.com> - 2017-06-29 22:40 +0200
csiph-web