Insert a trace event for the entry to a function
#include <sys/neutrino.h> #include <sys/trace.h> int trace_func_enter( void *this_fn, void *call_site );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The trace_func_enter() function calls TraceEvent() to insert an event of class _NTO_TRACE_SYSTEM and type _NTO_TRACE_SYS_FUNC_ENTER into the trace log.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
trace_func_exit(), trace_here(), trace_logb(), trace_logbc(), trace_logf(), trace_logi(), trace_nlogf(), trace_vnlogf(), TraceEvent()
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