diff options
author | Jiyoung Yun <jy910.yun@samsung.com> | 2017-06-13 18:47:36 +0900 |
---|---|---|
committer | Jiyoung Yun <jy910.yun@samsung.com> | 2017-06-13 18:47:36 +0900 |
commit | 61d6a817e39d3bae0f47dbc09838d51db22a5d30 (patch) | |
tree | cb37caa1784bc738b976273335d6ed04a7cc80b0 /src/vm/eventpipejsonfile.h | |
parent | 5b975f8233e8c8d17b215372f89ca713b45d6a0b (diff) | |
download | coreclr-61d6a817e39d3bae0f47dbc09838d51db22a5d30.tar.gz coreclr-61d6a817e39d3bae0f47dbc09838d51db22a5d30.tar.bz2 coreclr-61d6a817e39d3bae0f47dbc09838d51db22a5d30.zip |
Imported Upstream version 2.0.0.11992upstream/2.0.0.11992
Diffstat (limited to 'src/vm/eventpipejsonfile.h')
-rw-r--r-- | src/vm/eventpipejsonfile.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/vm/eventpipejsonfile.h b/src/vm/eventpipejsonfile.h index b6e42def68..7686db7752 100644 --- a/src/vm/eventpipejsonfile.h +++ b/src/vm/eventpipejsonfile.h @@ -6,8 +6,12 @@ #ifndef __EVENTPIPE_JSONFILE_H__ #define __EVENTPIPE_JSONFILE_H__ +#ifdef _DEBUG +#ifdef FEATURE_PERFTRACING + #include "common.h" #include "eventpipe.h" +#include "eventpipeeventinstance.h" #include "fstream.h" class EventPipeJsonFile @@ -16,8 +20,11 @@ class EventPipeJsonFile EventPipeJsonFile(SString &outFilePath); ~EventPipeJsonFile(); + // Write an event instance. + void WriteEvent(EventPipeEventInstance &instance); + // Write an event with the specified message and stack. - void WriteEvent(CommonEventFields &commonFields, SString &message, StackContents &stackContents); + void WriteEvent(LARGE_INTEGER timeStamp, DWORD threadID, SString &message, StackContents &stackContents); private: @@ -37,4 +44,7 @@ class EventPipeJsonFile LARGE_INTEGER m_fileOpenTimeStamp; }; +#endif // FEATURE_PERFTRACING +#endif // _DEBUG + #endif // __EVENTPIPE_JSONFILE_H__ |