diff options
author | Sung Yoon Whang <suwhang@microsoft.com> | 2020-03-04 14:16:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-04 14:16:43 +0300 |
commit | 1df3dc62c0c79b123620917b153733ade434a98c (patch) | |
tree | 45398753995f1100471976893eb79a87ac1c4bc2 /src/coreclr/clrfeatures.cmake | |
parent | 9bcf3b12f4e7ad2667ca00afc804877d78b81a46 (diff) |
Move EventPipe environment variable parsing logic to native code (#32516)
* Move environment variable parsing logic to native code
* Fix multiple provider issue
* Use env vars to set up eventpipe config
* Add default provider configuration if eventpipeconfig is not set
* Remove EventPipeController
* Add Argument parsing logic to XplatEventLoggerConfiguration
* cleanup
* Fix Linux build
* Check provider configuration before enabling them
* wrap new code under ifdef, put EventPipeController back
* pr feedback
* fix x86 build
* fix typo
* Fix loop condition
* ifdef out call to EnableViaEnvironmentVariables()
* Use CLRConfigStringHolder
* pr comments
* use NewHolder to avoid leak
Diffstat (limited to 'src/coreclr/clrfeatures.cmake')
-rw-r--r-- | src/coreclr/clrfeatures.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/coreclr/clrfeatures.cmake b/src/coreclr/clrfeatures.cmake index 078b4e73ac8..4a1f2b7225d 100644 --- a/src/coreclr/clrfeatures.cmake +++ b/src/coreclr/clrfeatures.cmake @@ -27,3 +27,7 @@ endif(NOT DEFINED FEATURE_STANDALONE_GC) if(NOT DEFINED FEATURE_AUTO_TRACE) set(FEATURE_AUTO_TRACE 0) endif(NOT DEFINED FEATURE_AUTO_TRACE) + +if(NOT DEFINED FEATURE_EVENTPIPE_STARTUP) + set(FEATURE_EVENTPIPE_STARTUP 0) +endif(NOT DEFINED FEATURE_EVENTPIPE_STARTUP) |