Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <!-- <?xml version="1.0" encoding="UTF-16"?> --> |
michael@0 | 2 | <instrumentationManifest |
michael@0 | 3 | xsi:schemaLocation="http://schemas.microsoft.com/win/2004/08/events eventman.xsd" |
michael@0 | 4 | xmlns="http://schemas.microsoft.com/win/2004/08/events" |
michael@0 | 5 | xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events" |
michael@0 | 6 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
michael@0 | 7 | xmlns:xs="http://www.w3.org/2001/XMLSchema" |
michael@0 | 8 | xmlns:trace="http://schemas.microsoft.com/win/2004/08/events/trace"> |
michael@0 | 9 | <instrumentation> |
michael@0 | 10 | <events> |
michael@0 | 11 | <provider name="MozillaSpiderMonkey" |
michael@0 | 12 | message="$(string.ProviderMessage)" |
michael@0 | 13 | guid="{2C378EC2-8A64-4b48-9A41-3CA4506D06C5}" |
michael@0 | 14 | symbol="MozillaSpiderMonkey" |
michael@0 | 15 | resourceFileName="mozjs.dll" |
michael@0 | 16 | messageFileName="mozjs.dll"> |
michael@0 | 17 | <events> |
michael@0 | 18 | <!-- execution --> |
michael@0 | 19 | <event symbol="EvtExecuteStart" value="1001" version="1" |
michael@0 | 20 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 21 | template="CodeLocationTemplate" task="Execution" opcode="ExecuteStart" |
michael@0 | 22 | keywords="SampleKeyword" message="$(string.MozillaSpiderMonkey.ExecuteStart.message)"/> |
michael@0 | 23 | <event symbol="EvtExecuteDone" value="1002" version="1" |
michael@0 | 24 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 25 | template="CodeLocationTemplate" task="Execution" opcode="ExecuteStop" |
michael@0 | 26 | keywords="SampleKeyword" message="$(string.MozillaSpiderMonkey.ExecuteDone.message)"/> |
michael@0 | 27 | |
michael@0 | 28 | <event symbol="EvtScriptCompileBegin" value="1003" version="1" |
michael@0 | 29 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 30 | template="CodeLocationTemplate" task="Execution" opcode="CompileBegin" |
michael@0 | 31 | keywords="SampleKeyword" message="$(string.MozillaSpiderMonkey.ScriptCompileBegin.message)"/> |
michael@0 | 32 | <event symbol="EvtScriptCompileEnd" value="1004" version="1" |
michael@0 | 33 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 34 | template="CodeLocationTemplate" task="Execution" opcode="CompileEnd" |
michael@0 | 35 | keywords="SampleKeyword" message="$(string.MozillaSpiderMonkey.ScriptCompileEnd.message)"/> |
michael@0 | 36 | |
michael@0 | 37 | <event symbol="EvtCalloutBegin" value="2001" version="1" |
michael@0 | 38 | channel="MozillaChannel" level="win:Verbose" |
michael@0 | 39 | template="FunctionInvocationTemplate" task="Execution" opcode="CalloutBegin" |
michael@0 | 40 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 41 | <event symbol="EvtCalloutEnd" value="2002" version="1" |
michael@0 | 42 | channel="MozillaChannel" level="win:Verbose" |
michael@0 | 43 | template="FunctionInvocationTemplate" task="Execution" opcode="CalloutEnd" |
michael@0 | 44 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 45 | |
michael@0 | 46 | <event symbol="EvtFunctionEntry" value="1005" version="1" |
michael@0 | 47 | channel="MozillaChannel" level="win:Verbose" |
michael@0 | 48 | template="FunctionInvocationTemplate" task="Execution" opcode="FunctionEnter" |
michael@0 | 49 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 50 | <event symbol="EvtFunctionExit" value="1006" version="1" |
michael@0 | 51 | channel="MozillaChannel" level="win:Verbose" |
michael@0 | 52 | template="FunctionInvocationTemplate" task="Execution" opcode="FunctionExit" |
michael@0 | 53 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 54 | |
michael@0 | 55 | <!-- allocation --> |
michael@0 | 56 | <event symbol="EvtObjectCreate" value="1007" version="1" |
michael@0 | 57 | channel="MozillaChannel" level="win:Verbose" |
michael@0 | 58 | template="ObjectCreateTemplate" task="Allocation" opcode="ObjectCreate" |
michael@0 | 59 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 60 | <event symbol="EvtObjectFinalize" value="1008" version="1" |
michael@0 | 61 | channel="MozillaChannel" level="win:Verbose" |
michael@0 | 62 | template="ObjectFinalizeTemplate" task="Allocation" opcode="ObjectFinalize" |
michael@0 | 63 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 64 | |
michael@0 | 65 | <event symbol="EvtStringCreate" value="1009" version="1" |
michael@0 | 66 | channel="MozillaChannel" level="win:Verbose" |
michael@0 | 67 | template="StringCreateTemplate" task="Allocation" opcode="StringCreate" |
michael@0 | 68 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 69 | <event symbol="EvtStringFinalize" value="1010" version="1" |
michael@0 | 70 | channel="MozillaChannel" level="win:Verbose" |
michael@0 | 71 | template="StringFinalizeTemplate" task="Allocation" opcode="StringFinalize" |
michael@0 | 72 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 73 | |
michael@0 | 74 | <event symbol="EvtObjectResize" value="1011" version="1" |
michael@0 | 75 | channel="MozillaChannel" level="win:Verbose" |
michael@0 | 76 | template="ObjectResizeTemplate" task="Allocation" opcode="ObjectResize" |
michael@0 | 77 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 78 | |
michael@0 | 79 | <!-- GC --> |
michael@0 | 80 | <event symbol="EvtGCStart" value="1012" version="1" |
michael@0 | 81 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 82 | template="VoidTemplate" task="Allocation" opcode="GCStart" |
michael@0 | 83 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 84 | <event symbol="EvtGCEnd" value="1013" version="1" |
michael@0 | 85 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 86 | template="VoidTemplate" task="Allocation" opcode="GCEnd" |
michael@0 | 87 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 88 | |
michael@0 | 89 | <event symbol="EvtGCStartMarkPhase" value="1014" version="1" |
michael@0 | 90 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 91 | template="VoidTemplate" task="Allocation" opcode="GCMarkStart" |
michael@0 | 92 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 93 | <event symbol="EvtGCEndMarkPhase" value="1015" version="1" |
michael@0 | 94 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 95 | template="VoidTemplate" task="Allocation" opcode="GCMarkEnd" |
michael@0 | 96 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 97 | |
michael@0 | 98 | <event symbol="EvtGCStartSweepPhase" value="1016" version="1" |
michael@0 | 99 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 100 | template="VoidTemplate" task="Allocation" opcode="GCSweepStart" |
michael@0 | 101 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 102 | <event symbol="EvtGCEndSweepPhase" value="1017" version="1" |
michael@0 | 103 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 104 | template="VoidTemplate" task="Allocation" opcode="GCSweepEnd" |
michael@0 | 105 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 106 | |
michael@0 | 107 | <event symbol="EvtMemoryAcquire" value="1018" version="1" |
michael@0 | 108 | channel="MozillaChannel" level="win:Verbose" |
michael@0 | 109 | template="MemoryLocationTemplate" task="Allocation" opcode="AcquireMemory" |
michael@0 | 110 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 111 | <event symbol="EvtMemoryRelease" value="1019" version="1" |
michael@0 | 112 | channel="MozillaChannel" level="win:Verbose" |
michael@0 | 113 | template="MemoryLocationTemplate" task="Allocation" opcode="ReleaseMemory" |
michael@0 | 114 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 115 | |
michael@0 | 116 | <event symbol="EvtHeapResize" value="1020" version="1" |
michael@0 | 117 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 118 | template="HeapResizeTemplate" task="Allocation" opcode="ResizeHeap" |
michael@0 | 119 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 120 | |
michael@0 | 121 | <event symbol="EvtCustomString" value="1021" version="1" |
michael@0 | 122 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 123 | template="StringTemplate" task="Markers" opcode="CustomMark" |
michael@0 | 124 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 125 | <event symbol="EvtCustomANSIString" value="1022" version="1" |
michael@0 | 126 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 127 | template="ANSIStringTemplate" task="Markers" opcode="CustomMark" |
michael@0 | 128 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 129 | <event symbol="EvtCustomInt" value="1023" version="1" |
michael@0 | 130 | channel="MozillaChannel" level="win:Informational" |
michael@0 | 131 | template="IntTemplate" task="Markers" opcode="CustomMark" |
michael@0 | 132 | keywords="SampleKeyword" message="$(string.SampleProvider.SampleEvent.message)"/> |
michael@0 | 133 | </events> |
michael@0 | 134 | |
michael@0 | 135 | <!-- So far, I am just using the standard win:Informational and win:Verbose levels --> |
michael@0 | 136 | <levels> |
michael@0 | 137 | </levels> |
michael@0 | 138 | |
michael@0 | 139 | <tasks> |
michael@0 | 140 | <task name="Execution" symbol="ExecutionTask" value="1" |
michael@0 | 141 | eventGUID="{A77103F5-3C77-4d71-A11A-BC6564F9B5B7}"/> |
michael@0 | 142 | <task name="Allocation" symbol="AllocationTask" value="2" |
michael@0 | 143 | eventGUID="{1FBF0FBF-019C-4a3f-BCC5-364AD54C4823}"/> |
michael@0 | 144 | <task name="GC" symbol="GCTask" value="3" |
michael@0 | 145 | eventGUID="{4BC38669-3062-41e6-AF41-12AF2D692B05}"/> |
michael@0 | 146 | <task name="Markers" symbol="MarkersTask" value="4" |
michael@0 | 147 | eventGUID="{83a61eb2-aa42-11df-AF41-0021859332ad}"/> |
michael@0 | 148 | </tasks> |
michael@0 | 149 | |
michael@0 | 150 | <opcodes> |
michael@0 | 151 | <opcode name="Default" symbol="OpDefault" value="10"/> |
michael@0 | 152 | <opcode name="ExecuteStart" symbol="OpExecuteStart" value="11"/> |
michael@0 | 153 | <opcode name="ExecuteStop" symbol="OpExecuteStop" value="12"/> |
michael@0 | 154 | <opcode name="CompileBegin" symbol="OpCompileBegin" value="13"/> |
michael@0 | 155 | <opcode name="CompileEnd" symbol="OpCompileEnd" value="14"/> |
michael@0 | 156 | <opcode name="CalloutBegin" symbol="OpCalloutBegin" value="15"/> |
michael@0 | 157 | <opcode name="CalloutEnd" symbol="OpCalloutEnd" value="16"/> |
michael@0 | 158 | <opcode name="FunctionEnter" symbol="OpFunctionEnter" value="17"/> |
michael@0 | 159 | <opcode name="FunctionExit" symbol="OpFunctionExit" value="18"/> |
michael@0 | 160 | <opcode name="ObjectCreate" symbol="OpObjectCreate" value="19"/> |
michael@0 | 161 | <opcode name="ObjectFinalize" symbol="OpObjectFinalize" value="20"/> |
michael@0 | 162 | <opcode name="StringCreate" symbol="OpStringCreate" value="21"/> |
michael@0 | 163 | <opcode name="StringFinalize" symbol="OpStringFinalize" value="22"/> |
michael@0 | 164 | <opcode name="ObjectResize" symbol="OpObjectResize" value="23"/> |
michael@0 | 165 | <opcode name="GCStart" symbol="OpGCStart" value="24"/> |
michael@0 | 166 | <opcode name="GCEnd" symbol="OpGCEnd" value="25"/> |
michael@0 | 167 | <opcode name="GCMarkStart" symbol="OpGCMarkStart" value="26"/> |
michael@0 | 168 | <opcode name="GCMarkEnd" symbol="OpGCMarkEnd" value="27"/> |
michael@0 | 169 | <opcode name="GCSweepStart" symbol="OpGCSweepStart" value="28"/> |
michael@0 | 170 | <opcode name="GCSweepEnd" symbol="OpGCSweepEnd" value="29"/> |
michael@0 | 171 | <opcode name="AcquireMemory" symbol="OpAcquireMemory" value="30"/> |
michael@0 | 172 | <opcode name="ReleaseMemory" symbol="OpReleaseMemory" value="31"/> |
michael@0 | 173 | <opcode name="ResizeHeap" symbol="OpResizeHeap" value="32"/> |
michael@0 | 174 | <opcode name="CustomMark" symbol="OpCustomMark" value="33"/> |
michael@0 | 175 | </opcodes> |
michael@0 | 176 | |
michael@0 | 177 | <channels> |
michael@0 | 178 | <channel name="MozillaChannel" chid="MozillaPerformanceReportingChannel" |
michael@0 | 179 | symbol="MOZILLA_PERFORMANCE_REPORTING_CHANNEL" type="Analytic" |
michael@0 | 180 | enabled="true"/> |
michael@0 | 181 | </channels> |
michael@0 | 182 | |
michael@0 | 183 | <keywords> |
michael@0 | 184 | <keyword name="SampleKeyword" symbol="KwSample" mask="0x1"/> |
michael@0 | 185 | </keywords> |
michael@0 | 186 | |
michael@0 | 187 | <templates> |
michael@0 | 188 | <template tid="CodeLocationTemplate"> |
michael@0 | 189 | <data name="FileName" inType="win:AnsiString" outType="xs:string"/> |
michael@0 | 190 | <data name="LineNumber" inType="win:Int32" outType="xs:int"/> |
michael@0 | 191 | </template> |
michael@0 | 192 | |
michael@0 | 193 | <template tid="ObjectCreateTemplate"> |
michael@0 | 194 | <data name="FileName" inType="win:AnsiString" outType="xs:string"/> |
michael@0 | 195 | <data name="LineNumber" inType="win:Int32" outType="xs:int"/> |
michael@0 | 196 | <data name="ClassName" inType="win:AnsiString" outType="xs:string"/> |
michael@0 | 197 | <data name="Address" inType="win:Int64" outType="xs:long"/> |
michael@0 | 198 | <data name="Size" inType="win:Int64" outType="xs:long"/> |
michael@0 | 199 | </template> |
michael@0 | 200 | |
michael@0 | 201 | <template tid="ObjectFinalizeTemplate"> |
michael@0 | 202 | <data name="ClassName" inType="win:AnsiString" outType="xs:string"/> |
michael@0 | 203 | <data name="Address" inType="win:Int64" outType="xs:long"/> |
michael@0 | 204 | </template> |
michael@0 | 205 | |
michael@0 | 206 | <template tid="ObjectResizeTemplate"> |
michael@0 | 207 | <data name="FileName" inType="win:AnsiString" outType="xs:string"/> |
michael@0 | 208 | <data name="LineNumber" inType="win:Int32" outType="xs:int"/> |
michael@0 | 209 | <data name="ClassName" inType="win:AnsiString" outType="xs:string"/> |
michael@0 | 210 | <data name="Address" inType="win:Int64" outType="xs:long"/> |
michael@0 | 211 | <data name="OldSize" inType="win:Int64" outType="xs:long"/> |
michael@0 | 212 | <data name="NewSize" inType="win:Int64" outType="xs:long"/> |
michael@0 | 213 | </template> |
michael@0 | 214 | |
michael@0 | 215 | <template tid="FunctionInvocationTemplate"> |
michael@0 | 216 | <data name="FileName" inType="win:AnsiString" outType="xs:string"/> |
michael@0 | 217 | <data name="LineNumber" inType="win:Int32" outType="xs:int"/> |
michael@0 | 218 | <data name="ClassName" inType="win:AnsiString" outType="xs:string"/> |
michael@0 | 219 | <data name="FunctionName" inType="win:AnsiString" outType="xs:string"/> |
michael@0 | 220 | </template> |
michael@0 | 221 | |
michael@0 | 222 | <template tid="StringCreateTemplate"> |
michael@0 | 223 | <data name="FileName" inType="win:AnsiString" outType="xs:string"/> |
michael@0 | 224 | <data name="LineNumber" inType="win:Int32" outType="xs:int"/> |
michael@0 | 225 | <data name="Address" inType="win:Int64" outType="xs:long"/> |
michael@0 | 226 | <data name="Size" inType="win:Int64" outType="xs:long"/> |
michael@0 | 227 | </template> |
michael@0 | 228 | |
michael@0 | 229 | <template tid="StringFinalizeTemplate"> |
michael@0 | 230 | <data name="Address" inType="win:Int64" outType="xs:long"/> |
michael@0 | 231 | <data name="Size" inType="win:Int64" outType="xs:long"/> |
michael@0 | 232 | </template> |
michael@0 | 233 | |
michael@0 | 234 | <template tid="MemoryLocationTemplate"> |
michael@0 | 235 | <data name="Compartment" inType="win:Int64" outType="xs:long"/> |
michael@0 | 236 | <data name="Address" inType="win:Int64" outType="xs:long"/> |
michael@0 | 237 | <data name="Size" inType="win:Int64" outType="xs:long"/> |
michael@0 | 238 | </template> |
michael@0 | 239 | |
michael@0 | 240 | <template tid="HeapResizeTemplate"> |
michael@0 | 241 | <data name="Compartment" inType="win:Int64" outType="xs:long"/> |
michael@0 | 242 | <data name="OldSize" inType="win:Int64" outType="xs:long"/> |
michael@0 | 243 | <data name="NewSize" inType="win:Int64" outType="xs:long"/> |
michael@0 | 244 | </template> |
michael@0 | 245 | |
michael@0 | 246 | <template tid="ANSIStringTemplate"> |
michael@0 | 247 | <data name="String" inType="win:AnsiString" outType="xs:string"/> |
michael@0 | 248 | </template> |
michael@0 | 249 | |
michael@0 | 250 | <template tid="StringTemplate"> |
michael@0 | 251 | <data name="String" inType="win:UnicodeString" outType="xs:string"/> |
michael@0 | 252 | </template> |
michael@0 | 253 | |
michael@0 | 254 | <template tid="IntTemplate"> |
michael@0 | 255 | <data name="Int" inType="win:Int32" outType="xs:int"/> |
michael@0 | 256 | </template> |
michael@0 | 257 | |
michael@0 | 258 | <template tid="VoidTemplate"> |
michael@0 | 259 | </template> |
michael@0 | 260 | |
michael@0 | 261 | </templates> |
michael@0 | 262 | </provider> |
michael@0 | 263 | </events> |
michael@0 | 264 | </instrumentation> |
michael@0 | 265 | |
michael@0 | 266 | <localization> |
michael@0 | 267 | <resources culture="en-US"> |
michael@0 | 268 | <stringTable> |
michael@0 | 269 | <string id="ProviderMessage" value="Event traces for Mozilla SpiderMonkey (Javascript engine)"/> |
michael@0 | 270 | <string id="MozillaSpiderMonkey.ExecuteStart.message" value="Javascript execution start" /> |
michael@0 | 271 | <string id="MozillaSpiderMonkey.ExecuteDone.message" value="Javascript execution end" /> |
michael@0 | 272 | |
michael@0 | 273 | <string id="MozillaSpiderMonkey.ScriptCompileBegin.message" value="Javascript code compilation start" /> |
michael@0 | 274 | <string id="MozillaSpiderMonkey.ScriptCompileEnd.message" value="Javascript code compilation end" /> |
michael@0 | 275 | <string id="SampleProvider.SampleEvent.message" value="Sample message" /> |
michael@0 | 276 | </stringTable> |
michael@0 | 277 | </resources> |
michael@0 | 278 | </localization> |
michael@0 | 279 | </instrumentationManifest> |