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

From: Christoph Hellwig
Date: Thu Jan 30 2020 - 10:45:35 EST


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.