debugfs

from Wikipedia, the free encyclopedia
debugfs
Manufacturer Greg Kroah-Hartman
properties
Supporting operating systems Linux

debugfs (English for debug filesystem ) is a virtual file system of the Linux kernel . It was developed by Greg Kroah-Hartman and has been officially available since kernel version 2.6.10-rc3.

debugfs is a RAM -based filesystem specially designed for debugging purposes. It enables kernel developers to make kernel-level information available to user mode. In contrast to the procfs filesystem , which is only intended for information about running processes, or the sysfs , which follows strict one-value-per-file rules, debugfs has no rules. Developers can therefore write any value they need to a file.

use

To be able to use debugfs, a kernel with the CONFIG_DEBUG_FS option set must be compiled. It is typically mounted in / sys / kernel / debug .

Individual evidence

  1. "debugfs" , LWN.net. December 13, 2004
  2. Jonathan Corbet: An updated guide to debugfs. LWN.net . May 25, 2009. Retrieved October 28, 2015.
  3. Jonathan Corbet: Linux Kernel Documentation :: File systems: debugfs.txt , documentation of the source code (based on kernel version 2.6.35.4.). kernel.org. Retrieved October 28, 2015.