Skip to content
Snippets Groups Projects
Commit f7033929 authored by Gabor Juhos's avatar Gabor Juhos
Browse files

add menuconfig option for enabling debugfs support in the kernel

SVN-Revision: 17540
parent 04f8c529
No related branches found
No related tags found
No related merge requests found
...@@ -195,6 +195,7 @@ config KERNEL_KALLSYMS ...@@ -195,6 +195,7 @@ config KERNEL_KALLSYMS
default n default n
help help
This will give you more information in stack traces from kernel oopses This will give you more information in stack traces from kernel oopses
config KERNEL_PROFILING config KERNEL_PROFILING
bool "Compile the kernel with profiling enabled" bool "Compile the kernel with profiling enabled"
default n default n
...@@ -202,6 +203,15 @@ config KERNEL_PROFILING ...@@ -202,6 +203,15 @@ config KERNEL_PROFILING
Enable the extended profiling support mechanisms used by profilers such Enable the extended profiling support mechanisms used by profilers such
as OProfile. as OProfile.
config KERNEL_DEBUG_FS
bool "Compile the kernel with Debug Filesystem enabled"
depends LINUX_2_6
default y
help
debugfs is a virtual file system that kernel developers use to put
debugging files into. Enable this option to be able to read and
write to these files.
endmenu endmenu
menuconfig DEVEL menuconfig DEVEL
......
...@@ -97,6 +97,7 @@ define Kernel/Configure/Default ...@@ -97,6 +97,7 @@ define Kernel/Configure/Default
$(LINUX_CONFCMD) > $(LINUX_DIR)/.config.target $(LINUX_CONFCMD) > $(LINUX_DIR)/.config.target
echo "$(if $(CONFIG_KERNEL_KALLSYMS),CONFIG_KALLSYMS=y,# CONFIG_KALLSYMS is not set)" >> $(LINUX_DIR)/.config.target echo "$(if $(CONFIG_KERNEL_KALLSYMS),CONFIG_KALLSYMS=y,# CONFIG_KALLSYMS is not set)" >> $(LINUX_DIR)/.config.target
echo "$(if $(CONFIG_KERNEL_PROFILING),CONFIG_PROFILING=y,# CONFIG_PROFILING is not set)" >> $(LINUX_DIR)/.config.target echo "$(if $(CONFIG_KERNEL_PROFILING),CONFIG_PROFILING=y,# CONFIG_PROFILING is not set)" >> $(LINUX_DIR)/.config.target
echo "$(if $(CONFIG_KERNEL_DEBUG_FS),CONFIG_DEBUG_FS=y,# CONFIG_DEBUG_FS is not set)" >> $(LINUX_DIR)/.config.target
echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> $(LINUX_DIR)/.config.target echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> $(LINUX_DIR)/.config.target
echo "# CONFIG_KALLSYMS_ALL is not set" >> $(LINUX_DIR)/.config.target echo "# CONFIG_KALLSYMS_ALL is not set" >> $(LINUX_DIR)/.config.target
echo "# CONFIG_KPROBES is not set" >> $(LINUX_DIR)/.config.target echo "# CONFIG_KPROBES is not set" >> $(LINUX_DIR)/.config.target
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment