Updated: April 19, 2023 |
Process trace data
#include <sys/traceparser.h> int traceparser ( struct traceparser_state * stateptr, void * userdata, const char * filename );
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 |