diff options
author | Sean Gillespie <segilles@microsoft.com> | 2018-01-23 18:53:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-23 18:53:30 -0800 |
commit | facdc8b97f73973fb416ed13e4b9dd9a255864bf (patch) | |
tree | c6be1ef07de8d324dcb121da524c13458d7f0f63 /src/gc/env/gcenv.sync.h | |
parent | 0bafdbc71e5a3efe6b6df0cbcf5aee5081a3e4c8 (diff) | |
download | coreclr-facdc8b97f73973fb416ed13e4b9dd9a255864bf.tar.gz coreclr-facdc8b97f73973fb416ed13e4b9dd9a255864bf.tar.bz2 coreclr-facdc8b97f73973fb416ed13e4b9dd9a255864bf.zip |
[Local GC] FEATURE_EVENT_TRACE 1/n: Tracking Event State (#15873)
* [Local GC] FEATURE_EVENT_TRACE 1/n: Add infrastructure for keeping event state within the GC and plumbing to communicate event state changes
* Code review feedback: use a load without a barrier in IsEnabled and put debug-only code under TRACE_GC_EVENT_STATE
* Address code review feedback: add EventPipe callback and comments
* Fix the non-FEATURE_PAL build
* Fix an issue where the GC fails to react to ETW callbacks to occur before the GC is initialized (e.g. on startup when an ETW session is already active)
* Simplify callback locking scheme
* Add a separate callback for each EventPipe provider and funnel them all through a common handler
* Fix non-FEATURE_PAL build
Diffstat (limited to 'src/gc/env/gcenv.sync.h')
-rw-r--r-- | src/gc/env/gcenv.sync.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gc/env/gcenv.sync.h b/src/gc/env/gcenv.sync.h index d6bee05a19..5b7b77ddd4 100644 --- a/src/gc/env/gcenv.sync.h +++ b/src/gc/env/gcenv.sync.h @@ -1,6 +1,8 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +#ifndef __GCENV_SYNC_H__ +#define __GCENV_SYNC_H__ // ----------------------------------------------------------------------------------------------------------- // @@ -143,3 +145,5 @@ private: HANDLE m_hEvent; bool m_fInitialized; }; + +#endif // __GCENV_SYNC_H__ |