e01.org

Debugfs

debugfs is a special file system available in the Linux kernel since version 2.6.10-rc3. It was written by Greg Kroah-Hartman. debugfs is a simple-to-use RAM-based file system specially designed for debugging purposes. It exists as a simple way for kernel developers to make information available to user space. Unlike , which is only meant for information about a process, or sysfs, which has strict one-value-per-file rules, debugfs has no rules at all. Developers can put any information they want there.

debugfs is a special file system available in the Linux kernel since version 2.6.10-rc3. It was written by Greg Kroah-Hartman. debugfs is a simple-to-use RAM-based file system specially designed for debugging purposes. It exists as a simple way for kernel developers to make information available to user space. Unlike , which is only meant for information about a process, or sysfs, which has strict one-value-per-file rules, debugfs has no rules at all. Developers can put any information they want there. mount -t debugfs none /sys/kernel/debug It can be manipulated using several calls from the C header file , which include: for creating a file in the debug filesystem. for creating a directory inside the debug filesystem. for creating a symbolic link inside the debug filesystem. for removing a debugfs entry from the debug filesystem.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Debugfs". 1742995508. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1282454666

JSON record · API collection · citation policy