User: Password:
|
|
Subscribe / Log in / New account

debugfs mount point

debugfs mount point

Posted Mar 17, 2009 16:04 UTC (Tue) by nevets (subscriber, #11875)
In reply to: debugfs mount point by vapier
Parent article: A look at ftrace

Thanks, I was confused by what he meant by "Hype".

But to his question about spurious directories in root. I still have on many systems an empty /opt. How's that different? I think seeing a /debug directory is quite obvious to what it is. Are you that worried about an inode that is seldom used?

The only ones that ever complain about /debug are a few kernel developers that know that /sys/kernel/debug was made for that purpose. The majority of people that use ftrace seem to mount the debugfs on /debug.

Typing "cat /debug/tracing/trace" is much faster than typing
"cat /sys/kernel/debug/tracing/trace".


(Log in to post comments)

debugfs mount point

Posted Mar 19, 2009 3:01 UTC (Thu) by daniel (guest, #3181) [Link]

I prefer /debug over /sys/kernel/debug/. After all, this symbol only needs to be there for debugging, if present then it is unmistakable why it is there, and there is no real chance of collision.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds