chadversary / debugfs-tutorial

a tiny tutorial on how to use debugfs from a Linux kernel module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

========================================================================
DebugFS Tutorial
  
author: Chad Versace <chad@kiwitree.net>
date: 2010-05-07
========================================================================

========
Overview
========

DebugFS is a synthetic filesystem in the kernel. It resides at
/sys/kernel/debug and allows userspace processes to inspect and manipulate
variables in the kernel. Unlike sysfs, the information provided by debugfs is
intended for kernel debugging only.

This tutorial is hands-on with kernel code. For each example
1. Read the Readme,
2. Open the source file,
3. And follow the comments.

About

a tiny tutorial on how to use debugfs from a Linux kernel module

License:GNU General Public License v3.0


Languages

Language:C 100.0%