To create a trace session by typing or pasting the control GUID
On the File menu, click Create New Log Session.
Click Add Provider.
Click Manually Entered Control GUID and then type or paste the control GUID.
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, click Add Provider. This step is optional.
Select flags and a level, if desired.
Set basic trace session options, if desired.
Set advanced trace session options, if desired.
If TraceView cannot find a TMF file for the trace provider, it does not add the trace provider to the provider list in the Create New Log Session dialog box and it does not display a message that explains why the provider was not added. If the provider does not appear in the provider list, restart the procedure and use the Select TMF Files method instead of Set TMF Search Path. If you cannot locate a PDB file or a TMF file for the provider, you cannot use TraceView to create a trace session.
When creating a trace session by typing or pasting a control GUID, you can use the Tracing Flags and Levels Selection dialog box (which is described in Selecting Flags and Levels) only when TraceView can find a PDB symbol file for the provider or when it can find a trace message control (.tmc) file for the provider in the TMF path (specified by using the Set TMF Search Path option).
If the TMC file is not available, you can set the trace flags and level for the provider manually in the Advanced Trace Session Options dialog box. For instructions, see Setting Advanced Trace Session Options.
For information about specifying TMF files, see Set TMF Search Path and Select TMF Files Options.