diff options
author | Brian Robbins <brianrob@microsoft.com> | 2017-05-25 12:28:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-25 12:28:24 -0700 |
commit | 7ca2692405f255ce4a87d2c3ec263d938cf274fc (patch) | |
tree | de684f25960d65b51b26797cd5b3f1c4250ae704 /src/vm/eventpipeconfiguration.cpp | |
parent | ed1342ba2409cd8bc736380017ee39eaa1701cf2 (diff) | |
download | coreclr-7ca2692405f255ce4a87d2c3ec263d938cf274fc.tar.gz coreclr-7ca2692405f255ce4a87d2c3ec263d938cf274fc.tar.bz2 coreclr-7ca2692405f255ce4a87d2c3ec263d938cf274fc.zip |
Implement Activity ID / Related Activity ID for EventSources Writing to EventPipe (#11904)
* Implement thread-local storage of activity ids.
* Plumb the activity id and related activity id into the trace file.
Diffstat (limited to 'src/vm/eventpipeconfiguration.cpp')
-rw-r--r-- | src/vm/eventpipeconfiguration.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vm/eventpipeconfiguration.cpp b/src/vm/eventpipeconfiguration.cpp index 73379fed1b..42f9daf528 100644 --- a/src/vm/eventpipeconfiguration.cpp +++ b/src/vm/eventpipeconfiguration.cpp @@ -370,7 +370,9 @@ EventPipeEventInstance* EventPipeConfiguration::BuildEventMetadataEvent(EventPip *m_pMetadataEvent, GetCurrentThreadId(), pInstancePayload, - instancePayloadSize); + instancePayloadSize, + NULL /* pActivityId */, + NULL /* pRelatedActivityId */); // Set the timestamp to match the source event, because the metadata event // will be emitted right before the source event. |