Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - T index

CONFIG_TRIM_UNUSED_KSYMS: Trim unused exported kernel symbols

General informations

The Linux kernel configuration item CONFIG_TRIM_UNUSED_KSYMS has multiple definitions:

Trim unused exported kernel symbols found in kernel/module/Kconfig

The configuration item CONFIG_TRIM_UNUSED_KSYMS:

Help text

The kernel and some modules make many symbols available for other modules to use via EXPORT_SYMBOL() and variants. Depending on the set of modules being selected in your kernel configuration, many of those exported symbols might never be used.

This option allows for unused exported symbols to be dropped from the build. In turn, this provides the compiler more opportunities (especially when using LTO) for optimizing the code and reducing binary size. This might have some security advantages as well.

If unsure, or if you need to build out-of-tree modules, say N.

Trim unused exported kernel symbols found in init/Kconfig

The configuration item CONFIG_TRIM_UNUSED_KSYMS:

Help text

The kernel and some modules make many symbols available for other modules to use via EXPORT_SYMBOL() and variants. Depending on the set of modules being selected in your kernel configuration, many of those exported symbols might never be used.

This option allows for unused exported symbols to be dropped from the build. In turn, this provides the compiler more opportunities (especially when using LTO) for optimizing the code and reducing binary size. This might have some security advantages as well.

If unsure, or if you need to build out-of-tree modules, say N.

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - T index

Automatically generated (in year 2024). See also LKDDb sources on GitLab