automount-tracefs-debugfs 894 B

1234567891011121314151617181920
  1. What: /sys/kernel/debug/tracing
  2. Date: May 2008
  3. KernelVersion: 2.6.27
  4. Contact: linux-trace-kernel@vger.kernel.org
  5. Description:
  6. The ftrace was first added to the kernel, its interface was placed
  7. into the debugfs file system under the "tracing" directory. Access
  8. to the files were in /sys/kernel/debug/tracing. As systems wanted
  9. access to the tracing interface without having to enable debugfs, a
  10. new interface was created called "tracefs". This was a stand alone
  11. file system and was usually mounted in /sys/kernel/tracing.
  12. To allow older tooling to continue to operate, when mounting
  13. debugfs, the tracefs file system would automatically get mounted in
  14. the "tracing" directory of debugfs. The tracefs interface was added
  15. in January 2015 in the v4.1 kernel.
  16. All tooling should now be using tracefs directly and the "tracing"
  17. directory in debugfs should be removed by January 2030.