summaryrefslogtreecommitdiff
path: root/src/scripts
diff options
context:
space:
mode:
authorBrian Robbins <brianrob@microsoft.com>2017-05-12 14:14:28 -0700
committerGitHub <noreply@github.com>2017-05-12 14:14:28 -0700
commitc8f77deb64c8bf582a7a9a090dea6a8ad6c9be6b (patch)
tree83627400cd04b84d1544aca48b52e539996ca523 /src/scripts
parentf90a27bfa18f078a39acd6fed57b9e9dd1adc8a9 (diff)
downloadcoreclr-c8f77deb64c8bf582a7a9a090dea6a8ad6c9be6b.tar.gz
coreclr-c8f77deb64c8bf582a7a9a090dea6a8ad6c9be6b.tar.bz2
coreclr-c8f77deb64c8bf582a7a9a090dea6a8ad6c9be6b.zip
Don't allow specification of needStack to EventPipeProvider when creating an event. (#11571)
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/genEventPipe.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/scripts/genEventPipe.py b/src/scripts/genEventPipe.py
index 3a818ce1e0..02634adf8c 100644
--- a/src/scripts/genEventPipe.py
+++ b/src/scripts/genEventPipe.py
@@ -136,14 +136,9 @@ def generateClrEventPipeWriteEventsImpl(
eventLevel = eventLevel.replace("win:", "EventPipeEventLevel::")
exclusionInfo = parseExclusionList(exclusionListFile)
taskName = eventNode.getAttribute('task')
- noStack = getStackWalkBit(
- providerName,
- taskName,
- eventName,
- exclusionInfo.nostack)
-
- initEvent = """ EventPipeEvent%s = EventPipeProvider%s->AddEvent(%s,%s,%s,%s,%d);
-""" % (eventName, providerPrettyName, eventKeywordsMask, eventValue, eventVersion, eventLevel, int(noStack))
+
+ initEvent = """ EventPipeEvent%s = EventPipeProvider%s->AddEvent(%s,%s,%s,%s);
+""" % (eventName, providerPrettyName, eventKeywordsMask, eventValue, eventVersion, eventLevel)
WriteEventImpl.append(initEvent)
WriteEventImpl.append("}")