diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/init/Kconfig b/init/Kconfig index c8b172efaa65..332aac649966 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -959,24 +959,18 @@ config KALLSYMS_ALL | |||
959 | bool "Include all symbols in kallsyms" | 959 | bool "Include all symbols in kallsyms" |
960 | depends on DEBUG_KERNEL && KALLSYMS | 960 | depends on DEBUG_KERNEL && KALLSYMS |
961 | help | 961 | help |
962 | Normally kallsyms only contains the symbols of functions, for nicer | 962 | Normally kallsyms only contains the symbols of functions for nicer |
963 | OOPS messages. Some debuggers can use kallsyms for other | 963 | OOPS messages and backtraces (i.e., symbols from the text and inittext |
964 | symbols too: say Y here to include all symbols, if you need them | 964 | sections). This is sufficient for most cases. And only in very rare |
965 | and you don't care about adding 300k to the size of your kernel. | 965 | cases (e.g., when a debugger is used) all symbols are required (e.g., |
966 | 966 | names of variables from the data sections, etc). | |
967 | Say N. | 967 | |
968 | 968 | This option makes sure that all symbols are loaded into the kernel | |
969 | config KALLSYMS_EXTRA_PASS | 969 | image (i.e., symbols from all sections) in cost of increased kernel |
970 | bool "Do an extra kallsyms pass" | 970 | size (depending on the kernel configuration, it may be 300KiB or |
971 | depends on KALLSYMS | 971 | something like this). |
972 | help | 972 | |
973 | If kallsyms is not working correctly, the build will fail with | 973 | Say N unless you really need all symbols. |
974 | inconsistent kallsyms data. If that occurs, log a bug report and | ||
975 | turn on KALLSYMS_EXTRA_PASS which should result in a stable build. | ||
976 | Always say N here unless you find a bug in kallsyms, which must be | ||
977 | reported. KALLSYMS_EXTRA_PASS is only a temporary workaround while | ||
978 | you wait for kallsyms to be fixed. | ||
979 | |||
980 | 974 | ||
981 | config HOTPLUG | 975 | config HOTPLUG |
982 | bool "Support for hot-pluggable devices" if EXPERT | 976 | bool "Support for hot-pluggable devices" if EXPERT |