Chapter 18

KUtrace: Postprocessing

Once a raw trace file is created, it can be postprocessed into an HTML file that can be displayed and dynamically panned and zoomed and annotated. There are five programs involved, two of which are optional, as shown in Figure 18.1, taken from Chapter 14’s Figure 14.3.

Images

Figure 18.1 Overview of trace postprocessing

18.1 Postprocessing Details

A raw trace file consists of packed binary 8-byte trace entries. These entries largely record call-return pairs for system calls, interrupts, and faults, but they also include context switches, names of routines, and markers. The rawtoevent program reads a trace file ...

Get Understanding Software Dynamics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.