Skip to content

Commit 515a339

Browse files
committed
python changes
1 parent c47dd5d commit 515a339

File tree

2 files changed

+26
-662
lines changed

2 files changed

+26
-662
lines changed

src/coreclr/scripts/genEventing.py

+10-5
Original file line numberDiff line numberDiff line change
@@ -179,21 +179,25 @@ def getUserEventDataTypeMapping(runtimeFlavor):
179179
if runtimeFlavor.coreclr:
180180
return coreCLRUserEventDataTypeMapping
181181
# elif runtimeFlavor.mono:
182-
# return monoEventPipeDataTypeMapping
182+
# return monoUserEventDataTypeMapping
183183
# elif runtimeFlavor.nativeaot:
184-
# return aotEventPipeDataTypeMapping
184+
# return aotUserEventDataTypeMapping
185185

186186
def getUserEventLogLevelMapping(runtimeFlavor):
187187
if runtimeFlavor.coreclr:
188188
return coreCLRUserEventLogLevelMapping
189+
# elif runtimeFlavor.mono:
190+
# return monoUserEventLogLevelMapping
191+
# elif runtimeFlavor.nativeaot:
192+
# return aotUserEventLogLevelMapping
189193

190194
def getArrayDataTypeMapping(runtimeFlavor):
191195
if runtimeFlavor.coreclr:
192196
return coreCLRUserEventArrayTypeMapping
193197
# elif runtimeFlavor.mono:
194-
# return monoEventPipeDataTypeMapping
198+
# return monoUserEventArrayTypeMapping
195199
# elif runtimeFlavor.nativeaot:
196-
# return aotEventPipeDataTypeMapping
200+
# return aotUserEventArrayTypeMapping
197201

198202
def getEventPipeDataTypeMapping(runtimeFlavor):
199203
if runtimeFlavor.coreclr:
@@ -210,7 +214,8 @@ def getPalDataTypeMapping(runtimeFlavor):
210214
return monoPalDataTypeMapping
211215
elif runtimeFlavor.nativeaot:
212216
return aotPalDataTypeMapping
213-
#maybe need to add getUserEventDataTypeMapping
217+
218+
214219
def includeProvider(providerName, runtimeFlavor):
215220
if (runtimeFlavor.coreclr or runtimeFlavor.nativeaot) and providerName == "Microsoft-DotNETRuntimeMonoProfiler":
216221
return False

0 commit comments

Comments
 (0)