Re: [PATCH v7 04/10] ppc64 ftrace_with_regs configuration variables

From: Steven Rostedt
Date: Fri Feb 05 2016 - 11:31:14 EST


On Fri, 5 Feb 2016 17:18:34 +0100
Petr Mladek <pmladek@xxxxxxxx> wrote:

> diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
> index a138f6d..de6dab0 100644
> --- a/kernel/trace/Kconfig
> +++ b/kernel/trace/Kconfig
> @@ -449,7 +449,7 @@ config PROBE_EVENTS
> def_bool n
>
> config DYNAMIC_FTRACE
> - bool "enable/disable function tracing dynamically"
> + bool "Enable/Disable function tracing dynamically"
> depends on FUNCTION_TRACER
> depends on HAVE_DYNAMIC_FTRACE
> default y
> @@ -472,9 +472,17 @@ config DYNAMIC_FTRACE
> otherwise has native performance as long as no tracing is active.
>
> config DYNAMIC_FTRACE_WITH_REGS
> - def_bool y
> + bool "Pass registers to function tracer"
> depends on DYNAMIC_FTRACE
> depends on HAVE_DYNAMIC_FTRACE_WITH_REGS
> + default y
> + help
> + This option enables passing the current state of processor
> + registers to the function tracer. It allows to do a more
> + detailed analyze and print more information.
> +
> + Say Y here if you are unsure. The only exception is if
> + you want to pass a build error caused by a broken compiler.
>
> config FUNCTION_PROFILER
> bool "Kernel function profiler"
>
>
> I made "enable/disable" uppercase because it looked weird in
> context of other descritions.
>

This works too, and I'm fine with it.

-- Steve