sosp — C Library Procedures
NAME
initRead, getHeader, getNextRecord, getNextRecordMerge, migrateChildren − Routines to extract trace events from the sosp file system traces.
SYNOPSIS
It’s probably not worth it to use the library routines directly. Instead, make use of the example template that calls them correctly.
#include <sosp.h>
int
initRead(name, argc, argv)
int
getHeader(file, hdr)
int
getNextRecord(file, buf)
Boolean
migrateChildren(flags)
int
getNextRecordMerge(buf)
ARGUMENTS
char ∗name (in) Like argv[0] - the name of the process.
int argc (in) Number of elements in argv.
char ∗∗argv (in/out) The arguments to the tracer - including startTime and endTime, files to ignore events for in the traces and the list of trace file names.
DESCRIPTION
The interface to this library is arcane. Look instead at the template program that calls it. This program includes comments for where you need to fill in your code.
KEYWORDS
traces, sosp, postprocessor
Sprite version 1.0 — November 18, 1991