diff options
author | Sung Yoon Whang <suwhang@microsoft.com> | 2019-03-07 18:34:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-07 18:34:17 -0800 |
commit | 4685a1e008ad7cf4118e8778d89e63d87ca5b7b6 (patch) | |
tree | 7bb44141fc537f864c69b1168630dcc9becd12ea /src/gc/gcinterface.h | |
parent | a2865ead29cc8ef73307927976c3dbaad1298d44 (diff) | |
download | coreclr-4685a1e008ad7cf4118e8778d89e63d87ca5b7b6.tar.gz coreclr-4685a1e008ad7cf4118e8778d89e63d87ca5b7b6.tar.bz2 coreclr-4685a1e008ad7cf4118e8778d89e63d87ca5b7b6.zip |
Fix how we check whether events are enabled via LTTng (#22707)
* Fix how we check whether events are enabled via LTTng
* Add GCToEEInterface::UpdateGCEventStatus
* Fix build errors
* Finished hooking it up to post_gc
* Some comments about the event keyword/level detection logic
* Fix windows build
* Fix Prv provider keyword logic
* forgot to add one more ifdef
* Fix OSX build
* one more ifdef to fix
* Addressing PR feedback
* Update GCEventStatus at gc_heap::initialize_gc too
Diffstat (limited to 'src/gc/gcinterface.h')
-rw-r--r-- | src/gc/gcinterface.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gc/gcinterface.h b/src/gc/gcinterface.h index 249466aee4..9744eb0f38 100644 --- a/src/gc/gcinterface.h +++ b/src/gc/gcinterface.h @@ -199,6 +199,16 @@ extern uint8_t* g_GCShadowEnd; extern uint8_t* g_shadow_lowest_address; #endif +/* + * GCEventProvider represents one of the two providers that the GC can + * fire events from: the default and private providers. + */ +enum GCEventProvider +{ + GCEventProvider_Default = 0, + GCEventProvider_Private = 1 +}; + // Event levels corresponding to events that can be fired by the GC. enum GCEventLevel { |