Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Issue 440903003: Add RECORD_AS_MUCH_AS_POSSIBLE mode to TraceOptions. (Closed)

Created:
6 years, 4 months ago by nednguyen
Modified:
6 years, 4 months ago
Reviewers:
dsinclair, nduca, yurys
CC:
aandrey+blink_chromium.org, chromium-reviews, darin-cc_chromium.org, devtools-reviews_chromium.org, dsinclair+watch_chromium.org, erikwright+watch_chromium.org, jam, paulirish+reviews_chromium.org, pfeldman, vsevik, wfh+watch_chromium.org, yurys
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add RECORD_AS_MUCH_AS_POSSIBLE mode to TraceOptions. With current implementation of devtool_tracing_handler, it doesn't do anything with invalid options and just use RECORD_UNTIL_FULL by default. So the change to telemetry's tracing backend will not break backward compatibility for browsers that don't support "record-as-much-as-possible" option. However, this is a hacky way to maintain backward compatibility, and we should fix devtool_tracing_handler so it can respond with error message on Tracing.start if there is options parsing error. BUG=396081 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288047

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Revert telemetry change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -13 lines) Patch
M base/debug/trace_event_impl.h View 3 chunks +6 lines, -1 line 0 comments Download
M base/debug/trace_event_impl.cc View 7 chunks +14 lines, -0 lines 0 comments Download
M base/debug/trace_event_impl_constants.cc View 1 chunk +12 lines, -9 lines 0 comments Download
M base/debug/trace_event_unittest.cc View 3 chunks +19 lines, -3 lines 0 comments Download
M content/browser/devtools/devtools_tracing_handler.cc View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
nednguyen
6 years, 4 months ago (2014-08-05 22:37:24 UTC) #1
nduca
lgtm without telemetry change https://codereview.chromium.org/440903003/diff/20001/content/browser/devtools/devtools_tracing_handler.cc File content/browser/devtools/devtools_tracing_handler.cc (right): https://codereview.chromium.org/440903003/diff/20001/content/browser/devtools/devtools_tracing_handler.cc#newcode139 content/browser/devtools/devtools_tracing_handler.cc:139: base::SplitString(options, ',', &split); we probably ...
6 years, 4 months ago (2014-08-05 22:50:31 UTC) #2
nednguyen
https://codereview.chromium.org/440903003/diff/20001/content/browser/devtools/devtools_tracing_handler.cc File content/browser/devtools/devtools_tracing_handler.cc (right): https://codereview.chromium.org/440903003/diff/20001/content/browser/devtools/devtools_tracing_handler.cc#newcode139 content/browser/devtools/devtools_tracing_handler.cc:139: base::SplitString(options, ',', &split); On 2014/08/05 22:50:31, nduca wrote: > ...
6 years, 4 months ago (2014-08-05 23:05:40 UTC) #3
nednguyen
The CQ bit was checked by nednguyen@google.com
6 years, 4 months ago (2014-08-05 23:05:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nednguyen@google.com/440903003/40001
6 years, 4 months ago (2014-08-05 23:08:30 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-06 04:23:37 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-06 04:27:45 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/2250)
6 years, 4 months ago (2014-08-06 04:27:46 UTC) #8
nednguyen
On 2014/08/06 04:27:46, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 4 months ago (2014-08-06 16:22:13 UTC) #9
yurys
devtools_tracing_handler.cc - lgtm
6 years, 4 months ago (2014-08-07 08:55:34 UTC) #10
nednguyen
The CQ bit was checked by nednguyen@google.com
6 years, 4 months ago (2014-08-07 13:15:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nednguyen@google.com/440903003/40001
6 years, 4 months ago (2014-08-07 13:16:50 UTC) #12
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 15:41:17 UTC) #13
Message was sent while issue was closed.
Change committed as 288047

Powered by Google App Engine
This is Rietveld 408576698