diff options
author | Brian Robbins <brianrob@microsoft.com> | 2017-05-12 10:51:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-12 10:51:31 -0700 |
commit | fca97d0ca72524b3bdd61817f7a172dd47d53287 (patch) | |
tree | 2cd8ca575969c94f487e7e9d175099b31fcf6ff6 /src/vm/eventpipefile.h | |
parent | f70698458849e3541dc96fac8d6c0d6b52ccf048 (diff) | |
download | coreclr-fca97d0ca72524b3bdd61817f7a172dd47d53287.tar.gz coreclr-fca97d0ca72524b3bdd61817f7a172dd47d53287.tar.bz2 coreclr-fca97d0ca72524b3bdd61817f7a172dd47d53287.zip |
EventPipe Circular Buffer Support and Ability to Start/Stop Tracing (#11507)
Diffstat (limited to 'src/vm/eventpipefile.h')
-rw-r--r-- | src/vm/eventpipefile.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/vm/eventpipefile.h b/src/vm/eventpipefile.h index 1fbb4c0b79..2f6853545d 100644 --- a/src/vm/eventpipefile.h +++ b/src/vm/eventpipefile.h @@ -16,7 +16,13 @@ class EventPipeFile : public FastSerializableObject { public: - EventPipeFile(SString &outputFilePath); + + EventPipeFile(SString &outputFilePath +#ifdef _DEBUG + , + bool lockOnWrite = false +#endif // _DEBUG + ); ~EventPipeFile(); // Write an event to the file. @@ -68,6 +74,10 @@ class EventPipeFile : public FastSerializableObject // Hashtable of metadata labels. MapSHashWithRemove<EventPipeEvent*, StreamLabel> *m_pMetadataLabels; + +#ifdef _DEBUG + bool m_lockOnWrite; +#endif // _DEBUG }; #endif // FEATURE_PERFTRACING |