!wdfkd.wdflogsave

The !wdfkd.wdflogsave extension saves the Kernel-Mode Driver Framework (KMDF) error log records for a specified driver to an event trace log (.etl) file that you can view by using TraceView.

!wdfkd.wdflogsave [DriverName [FileName]]

Parameters

DriverName
Optional. The name of a driver. DriverName must not include the .sys file name extension.

FileName
Optional. The name of the file to which the KMDF error log records should be saved. FileName should not include the .etl file name extension. If you omit FileName, the KMDF error log records are saved to the DriverName.etl file.

DLL

Wdfkd.dll

Frameworks

KMDF 1, UMDF 2

Additional Information

For more information, see Kernel-Mode Driver Framework Debugging.

Remarks

If you omit the DriverName parameter, the default driver name is used. Use the !wdfkd.wdfgetdriver extension to display the default driver name, and use the !wdfkd.wdfsetdriver extension to set the default driver name.