1<instrumentationManifest 2 xmlns="http://schemas.microsoft.com/win/2004/08/events" 3 xmlns:win="http://manifests.microsoft.com/win/2004/08/windows/events" 4 xmlns:xs="http://www.w3.org/2001/XMLSchema"> 5 <instrumentation> 6 <events> 7 <provider name="NodeJS-ETW-provider" 8 guid="{77754E9B-264B-4D8D-B981-E4135C1ECB0C}" 9 symbol="NODE_ETW_PROVIDER" 10 message="$(string.NodeJS-ETW-provider.name)" 11 resourceFileName="node.exe" 12 messageFileName="node.exe"> 13 14 <tasks> 15 <task name="MethodRuntime" value="1" 16 symbol="JSCRIPT_METHOD_RUNTIME_TASK"> 17 <opcodes> 18 <opcode name="MethodLoad" value="10" 19 symbol="JSCRIPT_METHOD_METHODLOAD_OPCODE"/> 20 </opcodes> 21 </task> 22 </tasks> 23 24 <opcodes> 25 <opcode name="NODE_HTTP_SERVER_REQUEST" value="10"/> 26 <opcode name="NODE_HTTP_SERVER_RESPONSE" value="11"/> 27 <opcode name="NODE_HTTP_CLIENT_REQUEST" value="12"/> 28 <opcode name="NODE_HTTP_CLIENT_RESPONSE" value="13"/> 29 <opcode name="NODE_NET_SERVER_CONNECTION" value="14"/> 30 <opcode name="NODE_NET_STREAM_END" value="15"/> 31 <opcode name="NODE_GC_START" value="16"/> 32 <opcode name="NODE_GC_DONE" value="17"/> 33 <opcode name="NODE_V8SYMBOL_REMOVE" value="21"/> 34 <opcode name="NODE_V8SYMBOL_MOVE" value="22"/> 35 <opcode name="NODE_V8SYMBOL_RESET" value="23"/> 36 </opcodes> 37 38 <templates> 39 <template tid="node_connection"> 40 <data name="fd" inType="win:UInt32" /> 41 <data name="port" inType="win:UInt32" /> 42 <data name="remote" inType="win:AnsiString" /> 43 <data name="buffered" inType="win:UInt32" /> 44 </template> 45 46 <template tid="node_http_client_request"> 47 <data name="url" inType="win:AnsiString" /> 48 <data name="method" inType="win:AnsiString" /> 49 <data name="fd" inType="win:UInt32" /> 50 <data name="port" inType="win:UInt32" /> 51 <data name="remote" inType="win:AnsiString" /> 52 <data name="buffered" inType="win:UInt32" /> 53 </template> 54 55 <template tid="node_http_server_request"> 56 <data name="url" inType="win:AnsiString" /> 57 <data name="method" inType="win:AnsiString" /> 58 <data name="forwardedFor" inType="win:AnsiString" /> 59 <data name="fd" inType="win:UInt32" /> 60 <data name="port" inType="win:UInt32" /> 61 <data name="remote" inType="win:AnsiString" /> 62 <data name="buffered" inType="win:UInt32" /> 63 </template> 64 65 <template tid="node_gc"> 66 <data name="gctype" inType="win:UInt32" /> 67 <data name="gccallbackflags" inType="win:UInt32" /> 68 </template> 69 70 <template tid="V8AddressChange"> 71 <data name="addr1" inType="win:Pointer" outType="win:HexInt64"/> 72 <data name="addr2" inType="win:Pointer" outType="win:HexInt64"/> 73 </template> 74 75 <template tid="MethodLoadUnload"> 76 <data name="ScriptContextID" inType="win:Pointer" outType="win:HexInt64"/> 77 <data name="MethodStartAddress" inType="win:Pointer" outType="win:HexInt64" /> 78 <data name="MethodSize" inType="win:UInt64" /> 79 <data name="MethodID" inType="win:UInt32" /> 80 <data name="MethodFlags" inType="win:UInt16" /> 81 <data name="MethodAddressRangeID" inType="win:UInt16" /> 82 <data name="SourceID" inType="win:UInt64" /> 83 <data name="Line" inType="win:UInt32" outType="xs:unsignedInt" /> 84 <data name="Column" inType="win:UInt32" outType="xs:unsignedInt" /> 85 <data name="MethodName" inType="win:UnicodeString" outType="xs:string" /> 86 </template> 87 </templates> 88 89 <events> 90 <event value="1" 91 opcode="NODE_HTTP_SERVER_REQUEST" 92 template="node_http_server_request" 93 symbol="NODE_HTTP_SERVER_REQUEST_EVENT" 94 message="$(string.NodeJS-ETW-provider.event.1.message)" 95 level="win:Informational"/> 96 <event value="2" 97 opcode="NODE_HTTP_SERVER_RESPONSE" 98 template="node_connection" 99 symbol="NODE_HTTP_SERVER_RESPONSE_EVENT" 100 message="$(string.NodeJS-ETW-provider.event.2.message)" 101 level="win:Informational"/> 102 <event value="3" 103 opcode="NODE_HTTP_CLIENT_REQUEST" 104 template="node_http_client_request" 105 symbol="NODE_HTTP_CLIENT_REQUEST_EVENT" 106 message="$(string.NodeJS-ETW-provider.event.3.message)" 107 level="win:Informational"/> 108 <event value="4" 109 opcode="NODE_HTTP_CLIENT_RESPONSE" 110 template="node_connection" 111 symbol="NODE_HTTP_CLIENT_RESPONSE_EVENT" 112 message="$(string.NodeJS-ETW-provider.event.4.message)" 113 level="win:Informational"/> 114 <event value="5" 115 opcode="NODE_NET_SERVER_CONNECTION" 116 template="node_connection" 117 symbol="NODE_NET_SERVER_CONNECTION_EVENT" 118 message="$(string.NodeJS-ETW-provider.event.5.message)" 119 level="win:Informational"/> 120 <event value="6" 121 opcode="NODE_NET_STREAM_END" 122 template="node_connection" 123 symbol="NODE_NET_STREAM_END_EVENT" 124 message="$(string.NodeJS-ETW-provider.event.6.message)" 125 level="win:Informational"/> 126 <event value="7" 127 opcode="NODE_GC_START" 128 template="node_gc" 129 symbol="NODE_GC_START_EVENT" 130 message="$(string.NodeJS-ETW-provider.event.7.message)" 131 level="win:Informational"/> 132 <event value="8" 133 opcode="NODE_GC_DONE" 134 template="node_gc" 135 symbol="NODE_GC_DONE_EVENT" 136 message="$(string.NodeJS-ETW-provider.event.8.message)" 137 level="win:Informational"/> 138 <event value="9" 139 level="win:Informational" 140 opcode="MethodLoad" 141 symbol="MethodLoad" 142 message="$(string.NodeJS-ETW-provider.event.9.message)" 143 task="MethodRuntime" 144 template="MethodLoadUnload"/> 145 <event value="21" 146 opcode="NODE_V8SYMBOL_REMOVE" 147 template="V8AddressChange" 148 symbol="NODE_V8SYMBOL_REMOVE_EVENT" 149 message="$(string.NodeJS-ETW-provider.event.21.message)" 150 level="win:Informational" /> 151 <event value="22" 152 opcode="NODE_V8SYMBOL_MOVE" 153 template="V8AddressChange" 154 symbol="NODE_V8SYMBOL_MOVE_EVENT" 155 message="$(string.NodeJS-ETW-provider.event.22.message)" 156 level="win:Informational" /> 157 <event value="23" 158 opcode="NODE_V8SYMBOL_RESET" 159 symbol="NODE_V8SYMBOL_RESET_EVENT" 160 message="$(string.NodeJS-ETW-provider.event.23.message)" 161 level="win:Informational" /> 162 </events> 163 </provider> 164 </events> 165 </instrumentation> 166 <localization> 167 <resources culture="en-US"> 168 <stringTable> 169 <string id="NodeJS-ETW-provider.name" value="Node.js ETW Provider"/> 170 <string id="NodeJS-ETW-provider.event.1.message" value="Node.js HTTP Server Request%nMethod: %2%nRemote: %6%nPort: %5%nURL: %1"/> 171 <string id="NodeJS-ETW-provider.event.2.message" value="Node.js HTTP Server Response%nRemote: %3%nPort: %2"/> 172 <string id="NodeJS-ETW-provider.event.3.message" value="Node.js HTTP Client Request%nMethod: %2%nRemote: %5%nPort: %4%nURL: %1"/> 173 <string id="NodeJS-ETW-provider.event.4.message" value="Node.js HTTP Client Response%nRemote: %3%nPort: %2"/> 174 <string id="NodeJS-ETW-provider.event.5.message" value="Node.js Net Server Connection%nRemote: %3%nPort: %2"/> 175 <string id="NodeJS-ETW-provider.event.6.message" value="Node.js Net Stream End%nRemote: %3%nPort: %2"/> 176 <string id="NodeJS-ETW-provider.event.7.message" value="Node.js Garbage Collection Start"/> 177 <string id="NodeJS-ETW-provider.event.8.message" value="Node.js Garbage Collection Done"/> 178 <string id="NodeJS-ETW-provider.event.9.message" value="Node.js Function Compiled: %10"/> 179 <string id="NodeJS-ETW-provider.event.21.message" value="Node.js V8 Symbol Remove"/> 180 <string id="NodeJS-ETW-provider.event.22.message" value="Node.js V8 Symbol Move"/> 181 <string id="NodeJS-ETW-provider.event.23.message" value="Node.js V8 Symbol Reset"/> 182 </stringTable> 183 </resources> 184 </localization> 185</instrumentationManifest> 186