Creating a Trace Session for a Registered Provider
To monitor the trace messages of a registered provider, do the following:
On the File menu, click Create New Log Session.
Click Add Provider.
Click Named Provider, and then click the ellipsis button (...) beside the Named Provider text box.
In the Named Provider Selection dialog box, TraceView displays the registered providers in the system.
Select a registered provider, and then click OK.
Do one of the following:
- To specify one or more TMF files , click Select TMF Files, click OK, click Add, and then browse to and select one or more TMF files from the directory. To select TMF files from another directory, click the Add button again. Otherwise, click Done.
- To direct TraceView to search for the TMF files in a specified directory, click Set TMF Search Path, click OK, browse to the directory, and then click OK.
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
For information about specifying TMF files, see Select TMF Files and Set TMF Search Path.
To set flags and a level for a registered provider, see Setting Advanced Trace Session Options.
The "Windows Kernel Trace" provider that appears in the list of named providers is better known as the NT Kernel Logger trace session. You can use the Named Provider Selection dialog box to create an NT Kernel Logger trace session, but this dialog box does not allow you to select the kernel components that are traced. Instead, it selects the default components (process, thread, disk, and network). To select the trace components, use the TraceView interface that is customized for NT Kernel Logger trace sessions.
The TMF file for the Windows Kernel Trace, system.tmf, is included in the WDK. Click Select TMF Files, click Add, navigate to the \tools\tracing\i386 subdirectory, and then select system.tmf.
For more information, see Creating an NT Kernel Logger trace session.