Building your own parser

QNX SDP8.0System Analysis Toolkit (SAT) User's GuideUser

If you want to create your own parser, consider the structure of traceprinter as a starting point. This utility consists of a long list of callback definitions, followed by a fairly simple parsing procedure. Each of the callback definitions is for printing.

The following sections introduce the building blocks of a custom parser that uses the traceparser library, and explain some issues you need to handle. Alternatively, you can write a parser that uses C Library calls to read and parse event data from the kernel trace file.

Page updated: