共用方式為


SystemProviderId

Applies To: Windows 8, Windows 8.1

Uniquely identifies the system provider.

Element Hierarchy

<WindowsPerformanceRecorder>
     <Profiles>
          <Profile>
               <Collectors>
                    <SystemProviderId>

Syntax

<SystemProviderId Value = IdType>

  <!-- Child elements -->
  Keywords,
  Stacks,
  PoolTags

</SystemProviderId>

Attributes and Elements

Attributes

Attribute Description Data type Required Default

Value

Uniquely identifies the system provider.

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

Yes

Child Elements

Element Description Requirement

Keywords (in SystemProvider)

Represents a collection of system provider keywords.

Required, exactly 1.

Stacks

Represents a collection of stacks.

Required, exactly 1.

PoolTags

Represents a collection of pool tags.

Required, exactly 1.

Parent Elements

Element Description

Collectors

Represents a collection of system collector identifiers, event collector identifiers, and optionally heap event collector identifiers.

Remarks

For more information about authoring system provider definitions, see 2. System and Event Provider Definitions and 3. Profile Definitions.

Example

The following code example shows the section of a profile definition that contains this element.

<Profile
  Id="Example.Light.File"
  Name="Example"
  DetailLevel="Light"
  LoggingMode="File"
  Description="Example profile">
  <ProblemCategories> 
    <ProblemCategory
      Value="First Level Triage"/>
  </ProblemCategories> 
  <Collectors>
    <SystemCollectorId
      Value="WPRSystemCollector">
      <SystemProviderId
        Value="system-provider"/>
    </SystemCollectorId>
…
  </Collectors>
</Profile>

See Also

Other Resources

Elements