From: Dave Hansen <dave@linux.vnet.ibm.com>
To: torvalds@linux-foundation.org
Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org,
linux-arch@vger.kernel.org, Dave Hansen <dave@linux.vnet.ibm.com>
Subject: [PATCH 1/7] move debugfs to filesystems menu (fs/Kconfig)
Date: Mon, 17 Dec 2012 13:22:07 -0500 [thread overview]
Message-ID: <20121217182207.4CF51258@kernel.stglabs.ibm.com> (raw)
In-Reply-To: <20121217182206.91AA150A@kernel.stglabs.ibm.com>
debugfs may have started out as a kernel hacking kind of option. But,
today, it is an integral part of lots of facilities like tracing that
are far from kernel hacking. Let's move it out of the very cluttered
"Kernel Hacking" menu and but it next to its real family: other
filesystems like sysfs, configfs, or /proc.
Also, "Debug filesystem" sounds like a debugging option _for_
filesystems code, not a filesystem for debugging. We also never call
it "the debug filesystem." We always say "debugfs", so reflect the
fact that we _call_ it debugfs in the menu text.
Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com>
---
linux-2.6.git-dave/fs/Kconfig | 12 ++++++++++++
linux-2.6.git-dave/lib/Kconfig.debug | 12 ------------
2 files changed, 12 insertions(+), 12 deletions(-)
diff -puN fs/Kconfig~be-clear-about-debugfs fs/Kconfig
--- linux-2.6.git/fs/Kconfig~be-clear-about-debugfs 2012-12-17 12:34:03.955929278 -0500
+++ linux-2.6.git-dave/fs/Kconfig 2012-12-17 12:34:03.963929345 -0500
@@ -176,6 +176,18 @@ config HUGETLBFS
config HUGETLB_PAGE
def_bool HUGETLBFS
+config DEBUG_FS
+ bool "Debug Filesystem (debugfs)"
+ 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.
+
+ For detailed documentation on the debugfs API, see
+ Documentation/DocBook/filesystems.
+
+ If unsure, say N.
+
source "fs/configfs/Kconfig"
endmenu
diff -puN lib/Kconfig.debug~be-clear-about-debugfs lib/Kconfig.debug
--- linux-2.6.git/lib/Kconfig.debug~be-clear-about-debugfs 2012-12-17 12:34:03.959929312 -0500
+++ linux-2.6.git-dave/lib/Kconfig.debug 2012-12-17 12:34:03.963929345 -0500
@@ -99,18 +99,6 @@ config UNUSED_SYMBOLS
you really need it, and what the merge plan to the mainline kernel for
your module is.
-config DEBUG_FS
- bool "Debug Filesystem"
- 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.
-
- For detailed documentation on the debugfs API, see
- Documentation/DocBook/filesystems.
-
- If unsure, say N.
-
config HEADERS_CHECK
bool "Run 'make headers_check' when building vmlinux"
depends on !UML
_
next prev parent reply other threads:[~2012-12-17 18:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-17 18:22 [PATCH 0/7] Put "Kernel hacking" Kconfig menu on a diet Dave Hansen
2012-12-17 18:22 ` Dave Hansen
2012-12-17 18:22 ` Dave Hansen [this message]
2012-12-18 2:21 ` [PATCH 1/7] move debugfs to filesystems menu (fs/Kconfig) Greg KH
2012-12-18 2:21 ` Greg KH
2012-12-17 18:22 ` [PATCH 2/7] consolidate per-arch stack overflow debugging options Dave Hansen
2012-12-17 18:22 ` [PATCH 3/7] order memory debugging Kconfig options Dave Hansen
2012-12-17 18:22 ` [PATCH 4/7] consolidate RCU " Dave Hansen
2012-12-17 18:22 ` Dave Hansen
2012-12-17 18:22 ` [PATCH 5/7] consolidate runtime testing configs Dave Hansen
2012-12-17 18:22 ` Dave Hansen
2012-12-17 18:22 ` [PATCH 6/7] consolidate compilation option configs Dave Hansen
2012-12-17 18:22 ` [PATCH 7/7] group locking debugging options Dave Hansen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121217182207.4CF51258@kernel.stglabs.ibm.com \
--to=dave@linux.vnet.ibm.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).