Re: [PATCH] kbuild: allow symbol whitelisting with TRIM_UNUSED_KSYMS

Christoph Hellwig
2020-01-30T15:45:35Z

On Wed, Jan 29, 2020 at 03:06:12PM +0000, Quentin Perret wrote:
> CONFIG_TRIM_UNUSED_KSYMS currently removes all unused exported symbols
> from ksymtab. This works really well when using in-tree drivers, but
> cannot be used in its current form if some of them are out-of-tree.

NAK. The state policy is that we don't care for out of tree modules,
and this is useful for nothing but. In fact we should remove the
CONFIG_TRIM_UNUSED_KSYMS=n option soon.