public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [IDEA] Enable debugging in userspace?
@ 2005-11-20 19:54 Fabio Erculiani
  2005-11-20 20:16 ` Marc Koschewski
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Erculiani @ 2005-11-20 19:54 UTC (permalink / raw)
  To: linux-kernel

Today, one idea is floating around me and bugging my brain (read: headache).
If I could be a newbie, and if I have a problem with the latest and greatest 
linux distro, I start googling and looking for a solution. The problem is 
that someone write that I have to enable debugging mode in kernel 
configuration, recompile everything and reboot. That's quite impossible for a 
newbie, isn't it?
So, why don't add an option to enable/disable debugging mode in sysfs?

Like:

/* DEBUG MODE ON */
echo "1" > /sys/kernel/debugging/debug_mode
/* DEBUG MODE OFF */
echo "0" > /sys/kernel/debugging/debug_mode

I know that debugging code might (remove "might") increase the kernel size, 
but men, we have >256MB of RAM and >1GB of hard drive space.

I'm not subscribed to the ML but I read that on lkml.org

BR,
-- 
Fabio Erculiani
www.lxnaydesign.net
RR4/RR64 Developer - Gentoo made easy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-20 20:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-20 19:54 [IDEA] Enable debugging in userspace? Fabio Erculiani
2005-11-20 20:16 ` Marc Koschewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox