Created
May 18, 2020 11:58
-
-
Save kevingosse/85fa56a4cca449401e61c5017e2e320c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined(FEATURE_EVENT_TRACE) | |
// We are explicitly checking whether the event is enabled here. | |
// Unfortunately some of the ETW macros do not check whether the ETW feature is enabled. | |
// The ones that do are much less efficient. | |
if (EVENT_ENABLED(GCAllocationTick_V3)) | |
{ | |
fire_etw_allocation_event (etw_allocation_running_amount[etw_allocation_index], gen_number, acontext->alloc_ptr); | |
} | |
#endif //FEATURE_EVENT_TRACE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment