• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<WindowsPerformanceRecorder Version="1.0">
3  <!--
4Note: The following utilities are usually installed to: "C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit"
5See https://docs.microsoft.com/en-us/windows-hardware/test/wpt/ for an overview of the tools.
6
7Start and stop the trace:
8
9  wpr -start wpr.wprp!V8js
10...run scenario...
11  wpr -stop v8js.etl
12
13You can also run "wpr -status collectors details" while recording to check on status.
14
15Note: If you have issues with the command line, run WRPUI, and load this profile via the dialog.
16
17Run the below to open the trace:
18
19  wpa v8js.etl
20
21Set _NT_SYMBOL_PATH to a value such as "C:\src\v8\v8\out.gn\x64.debug;srv*c:\symbols*https://msdl.microsoft.com/download/symbols" first.
22Append "-symcacheonly" on the WPA command to save it trying to reload prior failed symbols on subsequent runs.
23
24For details on editing this file, see https://docs.microsoft.com/en-us/windows-hardware/test/wpt/authoring-recording-profiles
25  -->
26  <Profiles>
27    <SystemCollector Id="SystemCollector" Name="NT Kernel Logger">
28      <BufferSize Value="1024"/>
29      <Buffers Value="384"/>
30    </SystemCollector>
31    <EventCollector Id="EventCollector_V8js" Name="V8js Event Collector">
32      <BufferSize Value="1024"/>
33      <Buffers Value="256"/>
34    </EventCollector>
35    <SystemProvider Id="SystemProvider">
36      <Keywords>
37        <Keyword Value="ProcessThread"/>
38        <Keyword Value="Loader"/>
39        <Keyword Value="SampledProfile"/>
40        <Keyword Value="ReadyThread"/>
41        <Keyword Value="CSwitch"/>
42        <Keyword Value="DiskIOInit"/>
43        <Keyword Value="FileIOInit"/>
44        <Keyword Value="HardFaults"/>
45      </Keywords>
46      <Stacks>
47        <!-- See https://docs.microsoft.com/en-us/windows-hardware/test/wpt/stack-wpa for options -->
48        <Stack Value="SampledProfile"/>
49        <Stack Value="ReadyThread"/>
50        <Stack Value="CSwitch"/>
51      </Stacks>
52    </SystemProvider>
53    <EventProvider Id="Provider_V8js" Name="57277741-3638-4A4B-BDBA-0AC6E45DA56C" Level="5" Stack="true"></EventProvider>
54    <Profile Id="V8js.Verbose.File" Name="V8js" DetailLevel="Verbose" LoggingMode="File" Description="V8.js profile">
55      <Collectors>
56        <SystemCollectorId Value="SystemCollector">
57          <SystemProviderId Value="SystemProvider"></SystemProviderId>
58        </SystemCollectorId>
59        <EventCollectorId Value="EventCollector_V8js">
60          <EventProviders>
61            <EventProviderId Value="Provider_V8js"></EventProviderId>
62          </EventProviders>
63        </EventCollectorId>
64      </Collectors>
65    </Profile>
66    <Profile Id="V8js.Verbose.Memory" Base="V8js.Verbose.File" Name="V8js" DetailLevel="Verbose" LoggingMode="Memory" Description="V8.js profile"></Profile>
67  </Profiles>
68</WindowsPerformanceRecorder>
69