regarding disable of CONFIG_DEBUG_FS
Hi , i want to disable CONFIG_DEBUG_FS in my kernel configuration . i am using 2.6.35 kernel on a embedded arm target . i am using usb hid driver to fetch thumbnail data on usb hid interface . the reason why i want to disable CONFIG_DEBUG_FS is that in interrupt callback , i dont want to spend time in debugging functions which are enabled with CONFIG_DEBUG_FS . can i be guided how to do that ? its not possible to do using make menuconfig though . Regards Amit Nagal
On Tue, Sep 20, 2011 at 9:31 AM, Amit Nagal <helloin.amit@gmail.com> wrote:
Hi ,
i want to disable CONFIG_DEBUG_FS in my kernel configuration . i am using 2.6.35 kernel on a embedded arm target . i am using usb hid driver to fetch thumbnail data on usb hid interface .
the reason why i want to disable CONFIG_DEBUG_FS is that in interrupt callback , i dont want to spend time in debugging functions which are enabled with CONFIG_DEBUG_FS .
can i be guided how to do that ? its not possible to do using make menuconfig though .
Regards
Amit Nagal
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi Amit, You can manually edit the .config file in the kernel source dir to disable CONFIG_DEBUG_FS. Regards, Rohan.
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 . Regards Amit Nagal On Tue, Sep 20, 2011 at 9:58 AM, rohan puri <rohan.puri15@gmail.com> wrote:
On Tue, Sep 20, 2011 at 9:31 AM, Amit Nagal <helloin.amit@gmail.com> wrote:
Hi ,
i want to disable CONFIG_DEBUG_FS in my kernel configuration . i am using 2.6.35 kernel on a embedded arm target . i am using usb hid driver to fetch thumbnail data on usb hid interface .
the reason why i want to disable CONFIG_DEBUG_FS is that in interrupt callback , i dont want to spend time in debugging functions which are enabled with CONFIG_DEBUG_FS .
can i be guided how to do that ? its not possible to do using make menuconfig though .
Regards
Amit Nagal
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi Amit,
You can manually edit the .config file in the kernel source dir to disable CONFIG_DEBUG_FS.
Regards, Rohan.
On Tue, Sep 20, 2011 at 10:09 AM, Amit Nagal <helloin.amit@gmail.com> 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 .
Regards Amit Nagal
On Tue, Sep 20, 2011 at 9:58 AM, rohan puri <rohan.puri15@gmail.com> wrote:
On Tue, Sep 20, 2011 at 9:31 AM, Amit Nagal <helloin.amit@gmail.com>
wrote:
Hi ,
i want to disable CONFIG_DEBUG_FS in my kernel configuration . i am using 2.6.35 kernel on a embedded arm target . i am using usb hid driver to fetch thumbnail data on usb hid interface .
the reason why i want to disable CONFIG_DEBUG_FS is that in interrupt callback , i dont want to spend time in debugging functions which are enabled with CONFIG_DEBUG_FS .
can i be guided how to do that ? its not possible to do using make menuconfig though .
Regards
Amit Nagal
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi Amit,
You can manually edit the .config file in the kernel source dir to disable CONFIG_DEBUG_FS.
Regards, Rohan.
Ok. You can try commenting the CONFIG_DEBUG_FS from the Makefile of the relevant kernel source which your module is interacting with. Regards, Rohan
On Tue, Sep 20, 2011 at 10:21 AM, rohan puri <rohan.puri15@gmail.com> wrote:
On Tue, Sep 20, 2011 at 10:09 AM, Amit Nagal <helloin.amit@gmail.com> 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
On Tue, Sep 20, 2011 at 8:57 AM, Amit Nagal <helloin.amit@gmail.com> wrote:
On Tue, Sep 20, 2011 at 10:21 AM, rohan puri <rohan.puri15@gmail.com> wrote:
On Tue, Sep 20, 2011 at 10:09 AM, Amit Nagal <helloin.amit@gmail.com> 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@kernelnewbies.org 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
On Fri, Sep 30, 2011 at 11:02 AM, Vladimir Murzin <murzin.v@gmail.com>wrote:
On Tue, Sep 20, 2011 at 8:57 AM, Amit Nagal <helloin.amit@gmail.com> wrote:
On Tue, Sep 20, 2011 at 10:21 AM, rohan puri <rohan.puri15@gmail.com> wrote:
On Tue, Sep 20, 2011 at 10:09 AM, Amit Nagal <helloin.amit@gmail.com>
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@kernelnewbies.org 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
Hi Vladimir, AFAIK, the reason why one cant disable debugfs from make menuconfig and other similar ways to make changes to config file, is that debugfs is being used by many kernel code which are in-built in the kernel and not as a module. Hence i think because of this it is kept tightly coupled with the kernel. Regards, Rohan Puri
On Fri, Sep 30, 2011 at 11:02 AM, Vladimir Murzin <murzin.v@gmail.com> wrote:
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
i checked in 3.0.3 kernel . under kernel hacking section , DEBUG_FS is marked as -*- Debug Filesystem . cannot disable it . even if i modify .config file , when i make kernel image again , CONFIG_DEBUG_FS is turned on again . Regards Amit Nagal
On Fri, Sep 30, 2011 at 10:26 AM, Amit Nagal <helloin.amit@gmail.com> wrote:
On Fri, Sep 30, 2011 at 11:02 AM, Vladimir Murzin <murzin.v@gmail.com> wrote:
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
i checked in 3.0.3 kernel . under kernel hacking section , DEBUG_FS is marked as -*- Debug Filesystem . cannot disable it . even if i modify .config file , when i make kernel image again , CONFIG_DEBUG_FS is turned on again .
Regards Amit Nagal
It means that other feature depends on CONFIG_DEBUG_FS. I can suggest running script like following to detect possible decencies. find -type f -name Kconfig | xargs grep -B3 "DEBUG_FS" FYI Menu items beginning with following braces represent features that [ ] can be built in or removed < > can be built in, modularized or removed { } can be built in or modularized (selected by other feature) - - are selected by other feature, while *, M or whitespace inside braces means to build in, build as a module or to exclude the feature respectively.
participants (3)
-
Amit Nagal -
rohan puri -
Vladimir Murzin