Showing posts with label kernel. Show all posts
Showing posts with label kernel. Show all posts

Thursday, June 30, 2011

/* TODO */

This is a list of topics I plan to write some posts about:

* softlockup and hung tasks.
* kernel debugging tools: kmememleak, lockdep, kmemcheck, perf
* how to submit patches to Linux kernel.
* getting started with the Linux kernel.
* anatomy of the TCP/IP Linux stack.
* analyze TCP connection setup using tcpdump.
* kernel/userspace communication.

Friday, February 13, 2009

Lindent

Lindent is a script that changes the appearance of a C program according to linux kernel coding style. It can be found in linux/scripts/ and it makes use of indent.(see indent(1) manual page).

For a debian based distribution running Lindent is straightforward:

#install indent
apt-get install indent
#run Lindent over a file
linux/scripts/Lindent file.c

The
preferred coding style used in linux kernel is described in linux/Documentation/CodingStyle.