Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality. If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers. And always feel free to hit us up on Twitter @MxdRealityDev.

Device Portal (Hololens): Cannot trace "light" WPR profiles

edited February 13 in General

This message is intended for those who have used custom WPR profiles in the Performance Tracing tool of the Hololens Device Portal.

The problem is that tracing fails to start when a custom "light" WPR profile (Device Portal -> Performance -> Performance Tracing -> Custom profiles) is selected. By "light", I mean that the detail level is set to "Light" and the logging mode to "File" in the profile. Tracing succeeds however when changing the custom profile's detail level to "Verbose".

I have attached the custom WPR profile at the end of this message. The custom profile's content is verified against the schema and it works with the WPR tool on a standard Windows 10 PC. So I am inclined to believe that the Performance Tracing tool in the Hololens Device Portal does not support the light detail variant.

Can you please help me understand if the light detail variant is supported and if not, what is the overhead of the verbose variant?

<?xml version="1.0" encoding="utf-8" standalone='yes'?>

<WindowsPerformanceRecorder Version="1.0" Author="Ananya Muddukrishna" Team="TXD" Comments="Light performance analysis profile" Company="Ericsson AB" Tag="Hololens">

  <!-- For schema, please see https://docs.microsoft.com/en-us/windows-hardware/test/wpt/wprcontrolprofiles-schema -->

  <Profiles>

    <!-- System Collectors -->
    <SystemCollector Id="SystemCollector_TXD" Name="NT Kernel Logger" Realtime="false">
      <BufferSize Value="1024"/>
      <Buffers Value="80"/>
    </SystemCollector>

    <!-- Event Collectors -->
    <EventCollector Id="EventCollector_TXD" Name="TXD Event Collector" Private="false" ProcessPrivate="false" Secure="false" Realtime="false">
      <BufferSize Value="1024"/>
      <Buffers Value="40"/>
    </EventCollector>

    <!-- System Providers -->
    <SystemProvider Id="SystemProvider_Base">
      <Keywords>
        <Keyword Value="CpuConfig"/>
        <Keyword Value="Loader"/>
        <Keyword Value="ProcessThread"/>
        <Keyword Value="MemoryInfo"/>
        <Keyword Value="MemoryInfoWS"/>
        <Keyword Value="HardFaults"/>
        <Keyword Value="CSwitch"/>
      </Keywords>
    </SystemProvider>

    <SystemProvider Id="SystemProvider_TXD" Base="SystemProvider_Base">
      <Keywords Operation="Add">
        <Keyword Value="DiskIO"/>
        <Keyword Value="DPC"/>
        <Keyword Value="Interrupt"/>
        <Keyword Value="ReadyThread"/>
        <Keyword Value="HardFaults"/>
        <Keyword Value="SampledProfile"/>
        <Keyword Value="NetworkTrace"/>
        <Keyword Value="Registry"/>
        <Keyword Value="IdleStates"/>
        <Keyword Value="ClockInterrupt"/>
        <Keyword Value="Power" />
        <Keyword Value="Timer"/>
      </Keywords>
      <Stacks Operation="Add">
        <Stack Value="CSwitch"/>
        <Stack Value="HardFault"/>
        <Stack Value="SampledProfile"/>
        <Stack Value="ReadyThread"/>
        <Stack Value="PagefaultHard" />
      </Stacks>
    </SystemProvider>

    <!-- Event Providers -->
    <EventProvider Id="EventProvider_Microsoft-Windows-Diagnostics-LoggingChannel" Name="4bd2826e-54a1-4ba9-bf63-92b73ea1ac4a" Level="5"/>
    <EventProvider Id="EventProvider_Microsoft-Windows-Kernel-Network" Name="7DD42A49-5329-4832-8DFD-43D979153A88" Level="5"/>

    <!-- Profiles -->
    <Profile Id="TXDProfile.Light.File" LoggingMode="File" Name="TXDProfile" DetailLevel="Light" Description="Light performance analysis profile for the Hololens">
      <ProblemCategories>
        <ProblemCategory Value="First Level Triage"/>
      </ProblemCategories>
      <Collectors>
        <SystemCollectorId Value="SystemCollector_TXD">
          <SystemProviderId Value="SystemProvider_TXD"/>
        </SystemCollectorId>
        <EventCollectorId Value="EventCollector_TXD">
          <EventProviders>
            <EventProviderId Value="EventProvider_Microsoft-Windows-Diagnostics-LoggingChannel"/>
            <EventProviderId Value="EventProvider_Microsoft-Windows-Kernel-Network"/>
          </EventProviders>
        </EventCollectorId>
      </Collectors>
    </Profile>

    <!--Profile Id="TXDProfile.Light.Memory" LoggingMode="Memory" Name="TXDProfile" DetailLevel="Light" Description="Light performance analysis profile for the Hololens" Base="TXDProfile.Light.File"-->

  </Profiles>

  <TraceMergeProperties>
    <TraceMergeProperty  Id="TraceMerge_Default" Name="TraceMerge_Default" Base="">
      <DeletePreMergedTraceFiles 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>
  </TraceMergeProperties>

</WindowsPerformanceRecorder>
Sign In or Register to comment.