Partager via


TraceMergeProperty

Applies To: Windows 8, Windows 8.1

Contains configurations that are applied when recordings from multiple profiles are merged. This element is for internal use only.

Element Hierarchy

<WindowsPerformanceRecorder>
     <TraceMergeProperties>
          <TraceMergeProperty>

Syntax

<TraceMergeProperty Id   = IdType
                    Name = string
                    Base = string>

  <!-- Child elements -->
  DeletePreMergedTraceFiles,
  FileCompression
  CustomEvents
</TraceMergeProperty>

Attributes and Elements

Attributes

Attribute Description Data type Required Default

ID

Uniquely identifies this element.

String that must have at least one character and cannot contain colons (:) or spaces.

Yes

Name

Indicates the name of this element.

string

Yes

Base

Indicates the base of this element. Derived elements have all the attributes of the base by default. You can override these attributes by explicitly specifying them in the derived element.

string

No

Child Elements

Element Description Requirement Possible Values

DeletePreMergedTraceFiles

Indicates whether to delete premerged event trace log (ETL) files.

Optional

true, false

FileCompression

Indicates whether to compress the ETL file.

Optional

true, false

CustomEvents

Represents a collection of custom events.

Optional

true, false

Parent Elements

Element Description

TraceMergeProperties

Represents a collection of trace merge properites.

Example

The following code example shows a trace merge property definition.

<TraceMergeProperty
  Id="TraceMerge_Default"
  Name="TraceMerge_Default">
  <DeletePreMergedTraceFiles
    Value="true"/>
  <FileCompression
    Value="true"/>
  <CustomEvents>
    <CustomEvent
      Value="ImageId"/>
    <CustomEvent
      Value="BuildInfo"/>
    <CustomEvent
      Value="VolumeMapping"/>
    <CustomEvent
      Value="EventMetadata"/>
    <CustomEvent
      Value="PerfTrackMetadata"/>
    <CustomEvent
      Value="WinSAT"/>
    <CustomEvent
      Value="NetworkInterface"/>
  </CustomEvents>
</TraceMergeProperty>

See Also

Other Resources

Elements