diff options
author | Xiangyang (Mark) Guo <xiangyang.guo@intel.com> | 2017-05-15 13:05:32 -0700 |
---|---|---|
committer | Brian Robbins <brianrob@microsoft.com> | 2017-05-15 13:05:32 -0700 |
commit | a7fae647fc09448cce04276a87a2873c09d31d42 (patch) | |
tree | 8f8afd1e440ec2ee802da1751ae8efee3497c015 /src/scripts | |
parent | 37168aeaf5d70de2d7af52d102002fc29b9feaf1 (diff) | |
download | coreclr-a7fae647fc09448cce04276a87a2873c09d31d42.tar.gz coreclr-a7fae647fc09448cce04276a87a2873c09d31d42.tar.bz2 coreclr-a7fae647fc09448cce04276a87a2873c09d31d42.zip |
Write EventSource events with metadata to EventPipe (#11577)
* Fix EventPipe initialization.
* rebase code with master, add prototype of event source metadata
* fix define event
* add null ptr checking
* move WriteEvent metadata serialization to managed side
* Fix enabled keywords for COMPlus_PerformanceTracing=1.
* put parameter name into metadata, use WriteToBuffer
* Write event metadata to the file.
* allocate buffer in EventPipeEvent ctor
* prevent double free
* refactor code
* AddEvent params reorder
Diffstat (limited to 'src/scripts')
-rw-r--r-- | src/scripts/genEventPipe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/genEventPipe.py b/src/scripts/genEventPipe.py index 02634adf8c..7fd1a459b3 100644 --- a/src/scripts/genEventPipe.py +++ b/src/scripts/genEventPipe.py @@ -138,7 +138,7 @@ def generateClrEventPipeWriteEventsImpl( taskName = eventNode.getAttribute('task') initEvent = """ EventPipeEvent%s = EventPipeProvider%s->AddEvent(%s,%s,%s,%s); -""" % (eventName, providerPrettyName, eventKeywordsMask, eventValue, eventVersion, eventLevel) +""" % (eventName, providerPrettyName, eventValue, eventKeywordsMask, eventVersion, eventLevel) WriteEventImpl.append(initEvent) WriteEventImpl.append("}") |