[PATCH] powerpc/configs: Enable function trace by default

Naveen N. Rao naveen.n.rao at linux.vnet.ibm.com
Fri Apr 14 01:21:41 AEST 2017


Excerpts from Balbir Singh's message of April 13, 2017 12:33:
> We expect to have these configs on by default, most
> distros turn them off, its always good to have them on
> so that we can use them and hopefully not break them

Thanks! I find myself constantly enabling these options.

> 
> Signed-off-by: Balbir Singh <bsingharora at gmail.com>
> ---
>  arch/powerpc/configs/powernv_defconfig | 4 ++++
>  arch/powerpc/configs/ppc64_defconfig   | 3 +++
>  arch/powerpc/configs/pseries_defconfig | 3 +++
>  3 files changed, 10 insertions(+)
> 
> diff --git a/arch/powerpc/configs/powernv_defconfig b/arch/powerpc/configs/powernv_defconfig
> index 0695ce0..eff3968 100644
> --- a/arch/powerpc/configs/powernv_defconfig
> +++ b/arch/powerpc/configs/powernv_defconfig
> @@ -295,7 +295,11 @@ CONFIG_DEBUG_STACK_USAGE=y
>  CONFIG_DEBUG_STACKOVERFLOW=y
>  CONFIG_LOCKUP_DETECTOR=y
>  CONFIG_LATENCYTOP=y
> +CONFIG_FTRACE=y
> +CONFIG_FUNCTION_TRACER=y
> +CONFIG_FUNCTION_GRAPH_TRACER=y
>  CONFIG_SCHED_TRACER=y
> +CONFIG_FTRACE_SYSCALLS=y

Any reason to not enable this for ppc64 and pseries defconfigs?
Apart from that, for this patch:
Acked-by: Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com>


- Naveen

>  CONFIG_BLK_DEV_IO_TRACE=y
>  CONFIG_UPROBE_EVENT=y
>  CONFIG_CODE_PATCHING_SELFTEST=y
> diff --git a/arch/powerpc/configs/ppc64_defconfig b/arch/powerpc/configs/ppc64_defconfig
> index e353168f9..17c6c12 100644
> --- a/arch/powerpc/configs/ppc64_defconfig
> +++ b/arch/powerpc/configs/ppc64_defconfig
> @@ -328,6 +328,9 @@ CONFIG_DEBUG_STACKOVERFLOW=y
>  CONFIG_LOCKUP_DETECTOR=y
>  CONFIG_DEBUG_MUTEXES=y
>  CONFIG_LATENCYTOP=y
> +CONFIG_FTRACE=y
> +CONFIG_FUNCTION_TRACER=y
> +CONFIG_FUNCTION_GRAPH_TRACER=y
>  CONFIG_SCHED_TRACER=y
>  CONFIG_BLK_DEV_IO_TRACE=y
>  CONFIG_UPROBE_EVENT=y
> diff --git a/arch/powerpc/configs/pseries_defconfig b/arch/powerpc/configs/pseries_defconfig
> index 1a61aa2..a445960 100644
> --- a/arch/powerpc/configs/pseries_defconfig
> +++ b/arch/powerpc/configs/pseries_defconfig
> @@ -293,6 +293,9 @@ CONFIG_DEBUG_STACK_USAGE=y
>  CONFIG_DEBUG_STACKOVERFLOW=y
>  CONFIG_LOCKUP_DETECTOR=y
>  CONFIG_LATENCYTOP=y
> +CONFIG_FTRACE=y
> +CONFIG_FUNCTION_TRACER=y
> +CONFIG_FUNCTION_GRAPH_TRACER=y
>  CONFIG_SCHED_TRACER=y
>  CONFIG_BLK_DEV_IO_TRACE=y
>  CONFIG_UPROBE_EVENT=y
> -- 
> 2.9.3
> 
> 



More information about the Linuxppc-dev mailing list