@@ -66,7 +66,7 @@ export function commandGcHeapDump (options:DiagnosticCommandOptions) {
6666 // GC_KEYWORD 0x0000001
6767 ] ,
6868 logLevel : 5 ,
69- provider_name : "Microsoft-Windows-DotNETRuntime" ,
69+ providerName : "Microsoft-Windows-DotNETRuntime" ,
7070 arguments : null
7171 } ,
7272 ...options . extraProviders || [ ] ,
@@ -89,7 +89,7 @@ export function commandCounters (options:DiagnosticCommandOptions) {
8989 {
9090 keywords : [ 0 , Keywords . GCHandle ] ,
9191 logLevel : 4 ,
92- provider_name : "System.Diagnostics.Metrics" ,
92+ providerName : "System.Diagnostics.Metrics" ,
9393 arguments : `SessionId=SHARED;Metrics=System.Runtime;RefreshInterval=${ options . intervalSeconds || 1 } ;MaxTimeSeries=1000;MaxHistograms=10;ClientId=${ uuidv4 ( ) } ;` ,
9494 } ,
9595 ...options . extraProviders || [ ] ,
@@ -109,7 +109,7 @@ export function commandSampleProfiler (options:DiagnosticCommandOptions) {
109109 0x0000_0000 ,
110110 ] ,
111111 logLevel : 4 ,
112- provider_name : "Microsoft-DotNETCore-SampleProfiler" ,
112+ providerName : "Microsoft-DotNETCore-SampleProfiler" ,
113113 arguments : null
114114 } ,
115115 ...options . extraProviders || [ ] ,
@@ -130,7 +130,7 @@ function commandCollectTracing2 (payload2:PayloadV2) {
130130 for ( const provider of payload2 . providers ) {
131131 message . push ( ...serializeUint64 ( provider . keywords ) ) ;
132132 message . push ( ...serializeUint32 ( provider . logLevel ) ) ;
133- message . push ( ...serializeString ( provider . provider_name ) ) ;
133+ message . push ( ...serializeString ( provider . providerName ) ) ;
134134 message . push ( ...serializeString ( provider . arguments ) ) ;
135135 }
136136 return Uint8Array . from ( message ) ;
@@ -199,7 +199,7 @@ const enum Keywords {
199199 Exception = 0x8000 ,
200200 //
201201 // Summary:
202- // Log events associated with the threadpoo , and other threading events.
202+ // Log events associated with the threadpool , and other threading events.
203203 Threading = 0x10000 ,
204204 //
205205 // Summary:
@@ -259,7 +259,7 @@ const enum Keywords {
259259 // This suppresses NGEN events on V4.0 (where you have NGEN PDBs), but not on V2.0
260260 // (which does not know about this bit and also does not have NGEN PDBS).
261261 // eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
262- SupressNGen = 0x40000 ,
262+ SuppressNGen = 0x40000 ,
263263 //
264264 // Summary:
265265 // TODO document
@@ -427,7 +427,7 @@ function computeCollectTracing2PayloadByteLength (payload2:PayloadV2) {
427427 for ( const provider of payload2 . providers ) {
428428 len += 8 ; // keywords
429429 len += 4 ; // level
430- len += computeStringByteLength ( provider . provider_name ) ;
430+ len += computeStringByteLength ( provider . providerName ) ;
431431 len += computeStringByteLength ( provider . arguments ) ;
432432 }
433433 return len ;
@@ -436,7 +436,7 @@ function computeCollectTracing2PayloadByteLength (payload2:PayloadV2) {
436436type ProviderV2 = {
437437 keywords : [ number , Keywords ] ,
438438 logLevel : number ,
439- provider_name : string ,
439+ providerName : string ,
440440 arguments : string | null
441441}
442442
0 commit comments