Re: [patch] preempt-trace.patch (mono preempt-trace)

Hugh Dickins
2005-08-05T18:44:58Z

On Fri, 5 Aug 2005, Dominik Karall wrote:
> On Friday 05 August 2005 17:22, Ingo Molnar wrote:
> >
> > please enable CONFIG_FRAME_POINTERS!
>
> I'm sorry, but I think I can't enable CONFIG_FRAME_POINTERS.
> Depends on: DEBUG_KERNEL && (X86 && !X86_64 || CRIS || M68K || M68KNOMMU ||
> FRV || UML)
>
> Seems to be disabled for x86_64.

It is disabled for x86_64, but not for any very good reason (beyond
reducing the test matrix). I work with CONFIG_FRAME_POINTERS on x86_64
with no trouble, just add in the patch below, make oldconfig, choose
frame pointers and rebuild). But I can't guarantee it'll actually
reveal the info Ingo and all are longing to see.

Hugh

--- 2.6.13-rc5/lib/Kconfig.debug 2005-06-17 20:48:29.000000000 +0100
+++ linux/lib/Kconfig.debug 2005-07-29 18:40:28.000000000 +0100
@@ -151,7 +151,7 @@ config DEBUG_FS

config FRAME_POINTER
bool "Compile the kernel with frame pointers"
- depends on DEBUG_KERNEL && ((X86 && !X86_64) || CRIS || M68K || M68KNOMMU || FRV || UML)
+ depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML)
default y if DEBUG_INFO && UML
help
If you say Y here the resulting kernel image will be slightly larger