|
01/10/2013 9:05 AM
post98483
|
In our mian we setup tracelogger with the following:
TraceEvent(_NTO_TRACE_ADDALLCLASSES);
TraceEvent(_NTO_TRACE_SETEVENTWIDE, _NTO_TRACE_KERCALL, __KER_SYNC_MUTEX_LOCK);
TraceEvent(_NTO_TRACE_SETEVENTWIDE, _NTO_TRACE_KERCALL, __KER_SYNC_MUTEX_REVIVE);
TraceEvent(_NTO_TRACE_SETEVENTWIDE, _NTO_TRACE_KERCALL, __KER_SYNC_MUTEX_UNLOCK );
TraceEvent(_NTO_TRACE_SETRINGMODE); // use a ring buffer to overwrite old data with new
TraceEvent(_NTO_TRACE_START); // begin tracing
Then we start the tracelogger with the following command line:
tracelogger -d2 -r -f
and yes we assign a value to the variable "count" before calling TraceEvent().
|
|
|
|
|