Re: [2.6.24 patch] restore Cell OProfile support

From: Mathieu Desnoyers
Date: Fri Dec 28 2007 - 14:35:32 EST


* Adrian Bunk (adrian.bunk@xxxxxxxxx) wrote:
> This patch restores the Cell OProfile support that was killed by
> commit 09cadedbdc01f1a4bea1f427d4fb4642eaa19da9.
>
> Signed-off-by: Adrian Bunk <adrian.bunk@xxxxxxxxx>
>

Same here : why isn't this on by default when SPU_FS and OPROFILE are
enabled ?

> ---
>
> kernel/Kconfig.instrumentation | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> 6d1446d35d367fdbdd2a0a29e0d156646ff40630
> diff --git a/kernel/Kconfig.instrumentation b/kernel/Kconfig.instrumentation
> index a76635d..9d143e6 100644
> --- a/kernel/Kconfig.instrumentation
> +++ b/kernel/Kconfig.instrumentation
> @@ -53,2 +53,10 @@ config HARDWARE_PM
>
> +config OPROFILE_CELL
> + bool "OProfile for Cell Broadband Engine"
> + depends on PPC && (SPU_FS = y && OPROFILE = m) || (SPU_FS = y && OPROFILE = y)
> + default y
> + help
> + Profiling of Cell BE SPUs requires special support enabled
> + by this option.
> +
> config KPROBES
>

--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
--
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/