Register tracing data sources early if SystemTracing is enabled.
This ensures that all processes are available for tracing since the data sources will be registered. Before only the browser process registered data sources, and thus you had to run a local trace before a system trace to get data from the renderer. This fixes that so all processes will register the TraceEvent and TraceSampler data sources (TraceMetadata remains browser only). Since the trace processor doesn't support proto traces yet I can't write an integration tests for this behaviour change. Bug: 979576,1007275 Change-Id: Ibb5aed2725ed2eae3672a3fddd5a31db7804f247 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1821602Reviewed-by:Stephen Nusko <nuskos@chromium.org> Reviewed-by:
Eric Seckler <eseckler@chromium.org> Commit-Queue: Stephen Nusko <nuskos@chromium.org> Auto-Submit: Stephen Nusko <nuskos@chromium.org> Cr-Commit-Position: refs/heads/master@{#699823}
Showing
Please register or sign in to comment