After build the driver, we could use tracelog / traceview to log/show the trace infomation.
1: input *.ctl (Control Guid) file. that we define WPP_CONTROL_GUIDS in trace.h and at the same time
create a ctl file include 1 line : guid CtlGuid
2: input *.tmf files.
using tracepdb to create tmf file , -c option create tmc file also.
tracepdb -i D:\driveout\accessch.sys -r D:\driverout -p D:\driverout\tmf -v -c
tracepdb -i D:\WFSample\accessch\out\Win7Debug\x86\accessch.sys -r D:\WFSample\accessch\out -p D:\WFSample\accessch\out\tmf -v -c
3 using tracefmt to display etl as txt.
tracefmt D:\driveout\l.etl -i D:\driveout\accessch.sys -r D:\driveout -p D:\driveout -o D:\driveout\t.txt -v
No comments:
Post a Comment