Hans-Peter Reichert
|
Re: AW: Tracelogger info during system boot up
|
Hans-Peter Reichert
12/14/2009 5:23 AM
post43761
|
Re: AW: Tracelogger info during system boot up
as you're using daemon mode,
you will have to tell tracelogger to end before you're copying the file.
a TraceEvent(_NTO_TRACE_STOP) only tells proc to stop tracing, but not tracelogger to record.
so after doning the
TraceEvent(_NTO_TRACE_STOP);
TraceEvent(_NTO_TRACE_FLUSHBUFFER);
you'll have to
slay tracelogger
or
SignalKill(0, LoggerPid, 0, SIGTERM, SI_USER, 0);
as long as tracelogger hasn't finished because the given data limit (-S16M) is reached.
now you can copy the file.
You will have to restart tracelogger for further logging sessions,
but you don't have to delete the *.kev files - they will be overwritten by subsequent restarts of tracelogger
HTH
/hp
|
|
|