Re: [patch] enable wchan config menu item for x86-64

From: Ingo Molnar
Date: Thu Nov 06 2008 - 16:26:01 EST



* Ken Chen <kenchen@xxxxxxxxxx> wrote:

> Ingo,
>
> I don't know when will you phase out /proc/pid/wchan. Can we enable the
> wchan config menu item for now on x86-64 arch? This will at least allow
> people to enable/disable frame pointers on scheduler functions.
>
> Signed-off-by: Ken Chen <kenchen@xxxxxxxxxx>
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index e60c59b..38f9fb9 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -367,7 +367,7 @@ config X86_RDC321X
> config SCHED_NO_NO_OMIT_FRAME_POINTER
> def_bool y
> prompt "Single-depth WCHAN output"
> - depends on X86_32
> + depends on X86

makes sense, i've added it to tip/sched/core, thanks Ken!

This will need some testing as we never did this on 64-bit, so it's
definitely a v2.6.29 item.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/