"kernel" tag
Getting started...

Getting Started with Inotify

Inotify is a Linux kernel feature that provides an event-driven framework for applications to monitor changes in the filesystem. This article demonstrates how to use the Inotify API to register for interesting events,…

Time to probe

Kernel Debugging Using Kprobe and Jprobe

Debugging is like plumbing; it involves fixing difficult, hidden problems — so, besides the vital experience, both debuggers and plumbers must have a specialised set of tools at hand for each task. Targeted…

Time to debug

KGDB with VirtualBox: Debug a Live Kernel

Debugging an application live has always been easy for application developers, but debugging a live kernel has never been a simple option for kernel developers — it involves multiple machines with serial connections….

Kernel C Extras

Device Drivers, Part 3: Kernel C Extras in a Linux Driver

This article in the series on Linux device drivers deals with the kernel’s message logging, and kernel-specific GCC extensions. Enthused by how Pugs impressed their professor in the last class, Shweta wanted to…

How important is scheduling?

Getting Started with RTLinux

This article deals with installing RTLinux, and creating a sample real-time module that can be loaded in it. An operating system is responsible for managing, accessing, controlling and interacting with the computer hardware…

Kernel tracing

Kernel Tracing with ftrace, Part 1

This article explains how to set up ftrace and be able to understand how to trace functions. It should be useful for current kernel developers and device driver developers who want to debug…

A debug file system?

Debugging the Linux Kernel with debugfs

debugfs is a simple memory-based filesystem, designed specifically to debug Linux kernel code, and not to be confused with the debugfs filesystem utility. Introduced by Greg Kroah-Hartman in December 2004, debugfs helps kernel…

Systemtap time

SystemTap Tutorial, Part 1

This is the first of a two-part series on SystemTap, a dynamic method to monitor and trace the operations of a running Linux kernel. SystemTap is useful to systems administrators, kernel developers, support…

Smart TV

FreedomYUG: Is Your TV Watching You? Even If It Runs Linux Inside?

Something’s happened to my TV — it’s turned intelligent. The dumbest TV shows still stream mindlessly on it, 24×7, through the cable-box, but the TV has new smarts. For starters, it’s got USB…

Linux Network Stack Administration: A Developer’s Approach

This article explores the various methods of managing the networking stack using application-level C programs, kernel-level C programs, the proc filesystem, etc.

All published articles are released under Creative Commons Attribution-NonCommercial 3.0 Unported License, unless otherwise noted.
Open Source For You is powered by WordPress, which gladly sits on top of a CentOS-based LEMP stack.

Creative Commons License.