Creating an NT Kernel Logger Trace Session
You can use TraceView to create an NT Kernel Logger trace session, a trace session built into Windows that records events that are generated by the Windows kernel.
When you create an NT Kernel Logger trace session, you can select a category of system events, such as "Process". TraceView configures the trace session to record all system events in that category.
To create an NT Kernel Logger Trace Session
On the File menu, click Create New Log Session.
Click Add Provider.
Click Kernel Logger, select one or more of the check boxes that identify NT Kernel Logger session event types, and click OK.
In the Open dialog box, locate System.tmf, the trace message format (TMF) file for system events. System.tmf is included in the WDK in the tools\tracing subdirectory.
To add additional providers of any type, click Add Provider. This step is optional.
Click Next.
Set basic trace session options, if desired.
Set advanced trace session options, if desired.
Click Finish.
Comments
The NT Kernel Logger trace session appears in the list of the Named Provider Selection dialog box as "Windows Kernel Trace." You can use either the Named Provider Selection dialog box or the Kernel Logger option on the Provider Control GUID Setup dialog box to create an NT Kernel Logger trace session. However, only the Provider Control GUID Setup dialog box lets you select the kernel components that are traced. For more information about using the Named Provider Selection dialog box, see Creating a trace session for a registered provider.