diff options
Diffstat (limited to 'src/vm/eventtracepriv.h')
-rw-r--r-- | src/vm/eventtracepriv.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vm/eventtracepriv.h b/src/vm/eventtracepriv.h index 0932225133..7aca5091fa 100644 --- a/src/vm/eventtracepriv.h +++ b/src/vm/eventtracepriv.h @@ -23,7 +23,10 @@ #define _countof(_array) (sizeof(_array)/sizeof(_array[0])) #endif -const UINT cbMaxEtwEvent = 64 * 1024; +// ETW has a limitation of 64K for TOTAL event Size, however there is overhead associated with +// the event headers. It is unclear exactly how much that is, but 1K should be sufficiently +// far away to avoid problems without sacrificing the perf of bulk processing. +const UINT cbMaxEtwEvent = 63 * 1024; //--------------------------------------------------------------------------------------- // C++ copies of ETW structures |