Chapter 2. How to use the Linux Trace Toolkit Viewer's Reading Context

2.1. Introduction

This chapter describes how to use the Linux Trace Toolkit reading context, a data structure that is given as call data parameter of the modules'callbacks.

Linux Trace Toolkit Viewer provides a backend that reads the traces. In combines them in tracesets. A trace is an abstaction over many tracefiles, one per CPU. LTTV reads the whole trace together, providing the events to modules by calling their pre-registered hook lists in a chronological order.