Re: [PATCH v7 12/18] pstore/zone,blk: Add ftrace frontend support

From: Randy Dunlap
Date: Mon May 11 2020 - 11:37:09 EST


On 5/10/20 1:24 PM, Kees Cook wrote:
> diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig
> index f1484f751c5e..16a0440d8d5a 100644
> --- a/fs/pstore/Kconfig
> +++ b/fs/pstore/Kconfig
> @@ -248,3 +248,15 @@ config PSTORE_BLK_CONSOLE_SIZE
>
> NOTE that, both Kconfig and module parameters can configure
> pstore/blk, but module parameters have priority over Kconfig.
> +
> +config PSTORE_BLK_FTRACE_SIZE
> + int "Size in Kbytes of ftarce to store"

ftrace

but I don't know what this prompt string means.
Could it possibly be "Size in Kbytes of ftrace log to store"?

> + depends on PSTORE_BLK
> + depends on PSTORE_FTRACE
> + default 64
> + help
> + This just sets size of ftrace (ftrace_size) for pstore/blk. The
> + size is in KB and must be a multiple of 4.
> +
> + NOTE that, both Kconfig and module parameters can configure
> + pstore/blk, but module parameters have priority over Kconfig.


--
~Randy