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: 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. == References ==