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/eventpipeeventinstance.h | |
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/eventpipeeventinstance.h')
-rw-r--r-- | src/vm/eventpipeeventinstance.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vm/eventpipeeventinstance.h b/src/vm/eventpipeeventinstance.h index f54a894066..4fcf95c73e 100644 --- a/src/vm/eventpipeeventinstance.h +++ b/src/vm/eventpipeeventinstance.h @@ -19,7 +19,7 @@ class EventPipeEventInstance public: - EventPipeEventInstance(EventPipeEvent &event, DWORD threadID, BYTE *pData, unsigned int length); + EventPipeEventInstance(EventPipeEvent &event, DWORD threadID, BYTE *pData, unsigned int length, LPCGUID pActivityId, LPCGUID pRelatedActivityId); // Get the event associated with this instance. EventPipeEvent* GetEvent() const; @@ -55,6 +55,8 @@ protected: EventPipeEvent *m_pEvent; DWORD m_threadID; LARGE_INTEGER m_timeStamp; + GUID m_activityId; + GUID m_relatedActivityId; BYTE *m_pData; unsigned int m_dataLength; |