Debugfs
   HOME

TheInfoList



OR:

debugfs is a special file system available in the Linux kernel since version 2.6.10-rc3.Linux: DebugFS
, by Jeremy, December 11, 2004, KernelTrap. (Announcement of debugfs by Greg KH.)
It was written by
Greg Kroah-Hartman Greg Kroah-Hartman (GKH) is a major Linux kernel developer. he is the Linux kernel maintainer for the branch, the staging subsystem, USB, driver core, debugfs, kref, kobject, and the sysfs kernel subsystems, Userspace I/O (with Hans J. Koc ...
. 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.An updated guide to debugfs
By Jonathan Corbet, May 25, 2009, LWN


Use

To compile a Linux kernel with the debugfs facility, the option must be set to yes. It is typically mounted at with a command such as:
A guide to using debugfs, Ariane Keller, Version 0.8, July 2008, Kernel Space - User Space Interfaces mount -t debugfs none /sys/kernel/debug It can be manipulated using several calls from the C
header file Many programming languages and other computer files have a directive, often called include (sometimes copy or import), that causes the contents of the specified file to be inserted into the original file. These included files are called copybooks ...
, 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.


References


External links


An updated guide to debugfs
at LWN {{Linux kernel Linux kernel Linux kernel features