xla icon indicating copy to clipboard operation
xla copied to clipboard

refactor OSS Trace proto into Trace metadata and a TraceContainer.

Open copybara-service[bot] opened this issue 2 years ago • 0 comments

refactor OSS Trace proto into Trace metadata and a TraceContainer.

This CL introduces a OSS TraceContainer type that is very similar to the internal TraceEventsContainer. End goal is to either subsume TraceEventsContainer into TraceContainer, or have it inherit most of its functionality from TraceContainer. (We cannot do this until the OSS Trace proto is fully decoupled from trace events though.)

OSS TraceContainer inherits from abstract AnyTraceContainer, which provides the arena allocator, and TraceEvent associatedtype requirement.

copybara-service[bot] avatar Mar 09 '23 21:03 copybara-service[bot]