I’ve added WPP tracing to my driver. The driver is built with the 2000
build environment of the 2003 Server SP1 DDK. I’ve got logging working in
traceview, but not using tracelog. In traceview I do the following:
- File->Create New Log Session -> Add Provider
- Select CTL (Control GUID) File
- My .ctl file contains this:
458D3DCF-ADF2-4da1-AD45-316DEACB2EB9 CtlGuid
- Choose “Select TMF Files” and add the TMF file tracepdb gave me.
- Select the defauls on the Log Session Options page (real time display and
leave the Log Session Name LogSession0
If I do stuff to my driver, I get all the trace data I expect. If from the
Log Session Options page I tell it to create a .etl file, it works great and
I can load it up, point to my .tmf file and get the correct traces.
When I use tracelog with the following command, I would expect to get a log
file with the traces, but I just get an empty file:
tracelog -start LogSession0 -guid z:\loginfo\filevol.ctl -f
h:\filevol.etl -flag 0xfff -level 0xfff
I just get an empty log file.
Does anyone know why? I’ve searched the forum and documentaion and can’t
figure out what I’m doing wrong. It looks like the other examples I’ve
seen.
Thanks,
Jonathan