Process trace data
#include <sys/traceparser.h> extern int traceparser ( struct traceparser_state * stateptr, void * userdata, const char * filename );
libtraceparser
Use the -l traceparser option to qcc to link against this library.
The traceparser() function starts the parsing of the trace data in filename. You'll use this function if you're creating your own utility for parsing trace data (as an alternative to traceprinter).
Before calling this function, you must have called:
When you've finished parsing the data, call traceparser_destroy() to destroy the parser.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | No |
TraceEvent(), traceparser_cs(), traceparser_cs_range(), traceparser_debug(), traceparser_destroy(), traceparser_get_info(), traceparser_init()
tracelogger, traceprinter in the Utilities Reference
System Analysis Toolkit User's Guide
Analyzing Your System with Kernel Tracing chapter of the Integrated Development Environment User's Guide