Re: [PATCH] ftrace: fix FTRACE_RECORD_RECURSION_SIZE Kconfig entry

From: Randy Dunlap
Date: Fri Mar 22 2024 - 11:51:50 EST




On 3/22/24 05:18, Prasad Pandit wrote:
> From: Prasad Pandit <pjp@xxxxxxxxxxxxxxxxx>
>
> Fix FTRACE_RECORD_RECURSION_SIZE entry, replace tab with

replace the tab between "default" and "128" with a space

> a space character. It helps Kconfig parsers to read file
> without error.

Parsers should accept either tab or space but this is a
reasonable change.

> Fixes: 773c16705058 ("ftrace: Add recording of functions that caused recursion")
> Signed-off-by: Prasad Pandit <pjp@xxxxxxxxxxxxxxxxx>

Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> ---
> kernel/trace/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
> index 61c541c36596..47345bf1d4a9 100644
> --- a/kernel/trace/Kconfig
> +++ b/kernel/trace/Kconfig
> @@ -965,7 +965,7 @@ config FTRACE_RECORD_RECURSION
>
> config FTRACE_RECORD_RECURSION_SIZE
> int "Max number of recursed functions to record"
> - default 128
> + default 128
> depends on FTRACE_RECORD_RECURSION
> help
> This defines the limit of number of functions that can be

--
#Randy