Insert a user string trace event, using a variable argument list
#include <sys/neutrino.h> #include <sys/trace.h> int trace_vnlogf( int code, int max, const char *fmt, va_list arglist );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The trace_vnlogf() function calls TraceEvent() to insert a user string event of class _NTO_TRACE_USER, and of the type specified by code.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
printf(), trace_func_enter(), trace_func_exit(), trace_here(), trace_logb(), trace_logbc(), trace_logf(), trace_logi(), trace_nlogf(), TraceEvent(), va_arg(), va_copy(), va_end(), va_start()
tracelogger 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