Re: regarding disable of CONFIG_DEBUG_FS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 20, 2011 at 8:57 AM, Amit Nagal <helloin.amit@xxxxxxxxx> wrote:
> On Tue, Sep 20, 2011 at 10:21 AM, rohan puri <rohan.puri15@xxxxxxxxx> wrote:
>>
>>
>> On Tue, Sep 20, 2011 at 10:09 AM, Amit Nagal <helloin.amit@xxxxxxxxx> wrote:
>>>
>>> Hi ,
>>>
>>> i already tried manual editing .
>>> but when i call make to build image after manual edit ,
>>> CONFIG_DEBUG_FS is turned on again .
>>>
>>> i tried manual editing in linux - x86 PC   also .
>>> i manually edited arch/x86/configs/i386_defconfig file to disable
>>> CONFIG_DEBUG_FS ,
>>> but when i call make to build image , CONFIG_DEBUG_FS is turned on again .
>>> >
>>
>> Ok. You can try commenting the CONFIG_DEBUG_FS from the Makefile of the
>> relevant kernel source which your module is interacting with.
>>
>
> Well  i am doing the same for time being for my testing . but its not
> the right way to do and can't be adopted .
>
> Regards
> Amit Nagal
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

Hi!

It's not clear why you can't disable CONFIG_DEBUG_FS via "make
menuconfig" or stuff like this?
This option is located under Kernel Haking -> Debuging Filesystems.
I've attached the diff of .config for this option.

Best wishes,
Vladimir Murzin
--- .config.tmp	2011-09-30 09:23:38.344476788 +0400
+++ .config	2011-09-30 09:23:56.868474925 +0400
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.35
-# Thu Sep 29 11:39:34 2011
+# Fri Sep 30 09:23:56 2011
 #
 CONFIG_ARM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -138,7 +138,6 @@
 #
 # GCOV-based kernel profiling
 #
-# CONFIG_GCOV_KERNEL is not set
 # CONFIG_SLOW_WORK is not set
 CONFIG_HAVE_GENERIC_DMA_COHERENT=y
 CONFIG_SLABINFO=y
@@ -1349,7 +1348,6 @@
 CONFIG_USB_GADGET=y
 # CONFIG_USB_GADGET_DEBUG is not set
 # CONFIG_USB_GADGET_DEBUG_FILES is not set
-# CONFIG_USB_GADGET_DEBUG_FS is not set
 CONFIG_USB_GADGET_VBUS_DRAW=2
 CONFIG_USB_GADGET_SELECTED=y
 # CONFIG_USB_GADGET_AT91 is not set
@@ -1520,7 +1518,6 @@
 CONFIG_EXT3_FS_SECURITY=y
 # CONFIG_EXT4_FS is not set
 CONFIG_JBD=y
-# CONFIG_JBD_DEBUG is not set
 CONFIG_FS_MBCACHE=y
 CONFIG_REISERFS_FS=y
 # CONFIG_REISERFS_CHECK is not set
@@ -1692,7 +1689,7 @@
 CONFIG_MAGIC_SYSRQ=y
 # CONFIG_STRIP_ASM_SYMS is not set
 # CONFIG_UNUSED_SYMBOLS is not set
-CONFIG_DEBUG_FS=y
+# CONFIG_DEBUG_FS is not set
 # CONFIG_HEADERS_CHECK is not set
 CONFIG_DEBUG_KERNEL=y
 # CONFIG_DEBUG_SHIRQ is not set
@@ -1735,7 +1732,6 @@
 # CONFIG_BACKTRACE_SELF_TEST is not set
 # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
 # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
-# CONFIG_LKDTM is not set
 # CONFIG_FAULT_INJECTION is not set
 # CONFIG_LATENCYTOP is not set
 # CONFIG_SYSCTL_SYSCALL_CHECK is not set
@@ -1759,7 +1755,6 @@
 # CONFIG_WORKQUEUE_TRACER is not set
 # CONFIG_BLK_DEV_IO_TRACE is not set
 # CONFIG_RING_BUFFER_BENCHMARK is not set
-# CONFIG_DYNAMIC_DEBUG is not set
 # CONFIG_ATOMIC64_SELFTEST is not set
 # CONFIG_SAMPLES is not set
 CONFIG_HAVE_ARCH_KGDB=y
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux