runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Refactor code writing directly to the event stream

Open ramarag opened this issue 11 years ago • 3 comments

This issues was identified as part of dotnet/coreclr#1598
src/vm/eventtrace.cpp The following functions writing directly to the ETW event stream, they need to be refactored so that they are portable across different logging systems i. BulkComLogger::FlushRcw() ii. BulkComLogger::FlushCcw() iii. BulkStaticsLogger::FireBulkStaticsEvent() iv. BulkTypeEventLogger::FireBulkTypeEvent()

ramarag avatar Sep 29 '15 00:09 ramarag

@ramarag was this achieved by https://github.com/dotnet/coreclr/pull/1751 ?

wtgodbe avatar Jan 14 '16 20:01 wtgodbe

dotnet/coreclr#1751 addresses the issue of managed code logging events, while dotnet/coreclr#1598 addresses a schema based logging events in the VM. the schema is present in ClrEtwAll.man

This issue is specific for logging specific events[listed above]. These have a complicated schema that were not specified at compile time for ETW and instead are directly write to the event stream.

ramarag avatar Jan 14 '16 21:01 ramarag

This appears to be a non-issue - no writing occurs unless m_currRcw is incremented from its initial value of 0, which only happens inder #ifdef FEATURE_COMINTEROP, which is not defined on non-Windows. I checked with @yizhang82 and he agrees - I believe this can be closed.

wtgodbe avatar Jan 19 '16 18:01 wtgodbe