Linux Kernel: Create a Loadable Kernel Module to add a new file into /proc (proc filesystem)

Опубликовано: 05 Октябрь 2024
на канале: Chandrashekar Babu
1,894
46

One of the most significant features of the Linux kernel is the way it exposes lots of interesting statistics via /proc filesystem ABI. In this short video, we will explore the easiest way to expose the kernel jiffies variable to user-space using the procfs API (within the kernel). This should provide enough guidance for newbie kernel developers to leverage procfs to expose stats of their own device drivers / subsystems.

** UPDATE **
My full course on "Introduction to Linux Kernel Development" is available on Udemy. If you are interested in this course: kindly support me by using the referral link - https://www.udemy.com/course/introduc... to register to this course.

Thank you!