diff options
author | noahfalk <noahfalk@microsoft.com> | 2019-06-10 13:48:50 -0700 |
---|---|---|
committer | Noah Falk <noahfalk@users.noreply.github.com> | 2019-06-10 13:50:38 -0700 |
commit | 835836c9d34409af0f31529201dfd57cb2bd053c (patch) | |
tree | 8497dd808d2804ff8fa454158292bd60e372167a /src/inc | |
parent | 7a44fb1530b920eb000e7ccb3378bb5e246f91d5 (diff) | |
download | coreclr-835836c9d34409af0f31529201dfd57cb2bd053c.tar.gz coreclr-835836c9d34409af0f31529201dfd57cb2bd053c.tar.bz2 coreclr-835836c9d34409af0f31529201dfd57cb2bd053c.zip |
Add support for the NetTrace EventPipe file format
Right now the new format is not on by default, but it can be enabled using COMPlus_EventPipeNetTraceFormat = 1 for testing purposes. The plan to have a follow up PR that will add shipping configuration mechanisms and change the default setting.
See the documentation in the PerfView repo for more details about the format. At a glance the goal is to create a format that is more efficient to produce, has a smaller on disk size, and offers enhanced functionality in a few areas:
a) 64 bit thread id support
b) Detection of dropped events via sequence numbers
c) Better support for extracting subsets of the file
Together with the change there was also some refactoring of the EventPipeBufferManager and EventPipeThread.
This change addresses (at least in part) the following issues:
#19688, #23414, #24188, #20751, #20555, #21827, #24852, #25046
Diffstat (limited to 'src/inc')
-rw-r--r-- | src/inc/clrconfigvalues.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inc/clrconfigvalues.h b/src/inc/clrconfigvalues.h index 267b7ae67d..03c6569a7b 100644 --- a/src/inc/clrconfigvalues.h +++ b/src/inc/clrconfigvalues.h @@ -718,6 +718,7 @@ RETAIL_CONFIG_DWORD_INFO(EXTERNAL_AllowDComReflection, W("AllowDComReflection"), // EventPipe // RETAIL_CONFIG_DWORD_INFO(INTERNAL_EnableEventPipe, W("EnableEventPipe"), 0, "Enable/disable event pipe. Non-zero values enable tracing.") +RETAIL_CONFIG_DWORD_INFO(INTERNAL_EventPipeNetTraceFormat, W("EventPipeNetTraceFormat"), 0, "Enable/disable using the newer nettrace file format.") RETAIL_CONFIG_STRING_INFO(INTERNAL_EventPipeOutputPath, W("EventPipeOutputPath"), "The full path excluding file name for the trace file that will be written when COMPlus_EnableEventPipe=1") RETAIL_CONFIG_STRING_INFO(INTERNAL_EventPipeConfig, W("EventPipeConfig"), "Configuration for EventPipe.") RETAIL_CONFIG_DWORD_INFO(INTERNAL_EventPipeRundown, W("EventPipeRundown"), 1, "Enable/disable eventpipe rundown.") |