diff options
author | simonhatch <simonhatch@chromium.org> | 2015-04-24 06:42:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-24 13:42:42 +0000 |
commit | 329f14fe8729f500bad122cafba31ff075b788dd (patch) | |
tree | 857cbdc20949734120d1ad80f29a6c7bbe34db06 /chrome_elf | |
parent | 8c1791c63d6a05455eb6c1413e01844496a119f4 (diff) | |
download | chromium_src-329f14fe8729f500bad122cafba31ff075b788dd.zip chromium_src-329f14fe8729f500bad122cafba31ff075b788dd.tar.gz chromium_src-329f14fe8729f500bad122cafba31ff075b788dd.tar.bz2 |
Added a new CompressedStringDataSink for compressing traces via the trace controller.
Also added a TraceDataEndpoint class that I'm thinking can be used to decouple the creation of the final trace (since there's some special logic in there for adding '{}'s and some specific names like 'traceEvent') from where it gets written. This is used right now by the new BackgroundTracingManager for Slow Reports and Deep Reports, but we could also refactor the existing String and File sinks this way as a follow up CL (WIP here: https://codereview.chromium.org/1002103004/).
Then for Deep Reports we can specify the data sink like so:
TraceController::DisableRecording(
TraceController::CreateCompressedStringSink(
TraceController::CreateFileEndpoint(...)));
Review URL: https://codereview.chromium.org/1088673003
Cr-Commit-Position: refs/heads/master@{#326783}
Diffstat (limited to 'chrome_elf')
0 files changed, 0 insertions, 0 deletions