Re: ETW trace question
- From: "Pavel A." <pavel_a@xxxxxxxxxxxxxxx>
- Date: Fri, 24 Jul 2009 08:15:06 +0300
"SB" <shawnberg@xxxxxxxxx> wrote in message news:539c8046-47c7-4ab3-8a82-bbfbabb90d4b@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm using ETW inside my application...i need a way to flush the data
in the log to disk periodically.
Then... try ControlTrace(EVENT_TRACE_CONTROL_FLUSH)
In case of crash, try to set up some sort of exeption handler -
SEH or vectored - and call flush from there.
--pa
On Jul 23, 12:15 pm, "Pavel A." <pave...@xxxxxxxxxxxxxxx> wrote:.sb wrote:
> If my user app crashes when logging to a ETW tracing session my log
> file does not contain any data. In fact, the log file is never written
> until the trace session is stopped. I would like to know how I can
> force trace info to be written to the log file without stopping the
> trace.
How about tracelog -flush
--pa
- References:
- ETW trace question
- From: sb
- Re: ETW trace question
- From: Pavel A.
- Re: ETW trace question
- From: SB
- ETW trace question
- Prev by Date: Re: window dump with webcam filter
- Next by Date: Re: window dump with webcam filter
- Previous by thread: Re: ETW trace question
- Next by thread: Re: ETW trace question
- Index(es):
Relevant Pages
|
Loading