Kernel Buffer Management

As the instrumented kernel intercepts events, it stores them in a circular linked list of buffers.

Circular linked list of buffers Figure 1. The kernel buffers.

As each buffer fills, the instrumented kernel sends a signal to the data-capturing program that the buffer is ready to be read.

Each buffer is of a fixed size and is divided into a fixed number of slots:

Some events are single buffer slot events ("simple events") while others are multiple buffer slot events ("combine events"). In either case there is only one event, but the number of event buffer slots required to describe it may vary.

For details, see the Interpreting Trace Data chapter.