public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kgdb: Do not allow function tracing of kgdb code
@ 2012-04-25 15:18 Steven Rostedt
  2012-04-25 15:23 ` Jason Wessel
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2012-04-25 15:18 UTC (permalink / raw)
  To: LKML; +Cc: Jason Wessel, Ingo Molnar, Thomas Gleixner, H. Peter Anvin

As function tracing the kgdb code can cause issues, as kgdb is a
debugger itself, do not trace the kgdb functions.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile
index 532d2e0..b7828ce 100644
--- a/arch/x86/kernel/Makefile
+++ b/arch/x86/kernel/Makefile
@@ -15,6 +15,7 @@ CFLAGS_REMOVE_pvclock.o = -pg
 CFLAGS_REMOVE_kvmclock.o = -pg
 CFLAGS_REMOVE_ftrace.o = -pg
 CFLAGS_REMOVE_early_printk.o = -pg
+CFLAGS_REMOVE_kgdb.o = -pg
 endif
 
 obj-y			:= process_$(BITS).o signal.o entry_$(BITS).o



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-25 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-25 15:18 [PATCH] kgdb: Do not allow function tracing of kgdb code Steven Rostedt
2012-04-25 15:23 ` Jason Wessel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox