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

Issue 1765293002: Add support for Blimp engine metrics reporting in development. (Closed)

Created:
4 years, 9 months ago by Jess
Modified:
4 years, 9 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, marcinjb, maniscalco
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for Blimp engine metrics reporting in development. Currently there is no way of recording or reporting metrics for the Blimp engine. To collect metrics for the Blimp engine in development two things are required. First, for metrics recording and reporting to be enabled on the Blimp engine. Second, for the metrics logging to flag Blimp engine reports so they can be filtered from other linux metrics reports. These code behavior changes are currently kept between a single build arg, but are controlled via separate defines checks. These changes will allow metrics to be collected on development instances of Blimp and viewed separately from Linux builds. BUG=592757 Committed: https://crrev.com/ab7a08b61e58d1a50565cb892f3402cebafbcf16 Cr-Commit-Position: refs/heads/master@{#380760}

Patch Set 1 : Create args #

Patch Set 2 : Update arg location so check only occurs if was declared. #

Total comments: 6

Patch Set 3 : Add comment on new behavior. What, why, and where set in build. #

Total comments: 2

Patch Set 4 : Comment why not including the build logic in the corresponding gyp file. #

Patch Set 5 : Create instructions and guidelines on creating new build arguments for blimp. #

Patch Set 6 : Rollback. Committed in wrong branch. #

Total comments: 2

Patch Set 7 : Rename #define. Replace HEADLESS with BLIMP to clarify use. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1 line) Patch
M build/args/blimp_engine.gn View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M components/metrics/BUILD.gn View 1 2 3 4 5 6 2 chunks +14 lines, -0 lines 0 comments Download
M components/metrics/metrics_log.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (13 generated)
Jess
Please let me know if I am off on any best practices or if you ...
4 years, 9 months ago (2016-03-07 19:17:21 UTC) #4
Dirk Pranke
//build change lgtm.
4 years, 9 months ago (2016-03-07 19:25:49 UTC) #5
Jess
+brettw for chrome/browser/browser_process_impl.cc
4 years, 9 months ago (2016-03-07 20:38:19 UTC) #8
Alexei Svitkine (slow)
https://codereview.chromium.org/1765293002/diff/20001/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): https://codereview.chromium.org/1765293002/diff/20001/chrome/browser/browser_process_impl.cc#newcode857 chrome/browser/browser_process_impl.cc:857: #if defined(ENABLE_REPORTING_HEADLESS) Please add a comment about what this ...
4 years, 9 months ago (2016-03-07 20:38:25 UTC) #9
Jess
https://codereview.chromium.org/1765293002/diff/20001/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): https://codereview.chromium.org/1765293002/diff/20001/chrome/browser/browser_process_impl.cc#newcode857 chrome/browser/browser_process_impl.cc:857: #if defined(ENABLE_REPORTING_HEADLESS) On 2016/03/07 20:38:25, Alexei Svitkine (slow) wrote: ...
4 years, 9 months ago (2016-03-07 21:09:22 UTC) #10
Alexei Svitkine (slow)
Please file a crbug for this and associate it with this change. https://codereview.chromium.org/1765293002/diff/20001/components/metrics/BUILD.gn File components/metrics/BUILD.gn ...
4 years, 9 months ago (2016-03-07 21:17:44 UTC) #11
Alexei Svitkine (slow)
lgtm % the above
4 years, 9 months ago (2016-03-07 21:17:57 UTC) #12
Jess
https://codereview.chromium.org/1765293002/diff/20001/components/metrics/BUILD.gn File components/metrics/BUILD.gn (right): https://codereview.chromium.org/1765293002/diff/20001/components/metrics/BUILD.gn#newcode361 components/metrics/BUILD.gn:361: } On 2016/03/07 21:17:44, Alexei Svitkine (slow) wrote: > ...
4 years, 9 months ago (2016-03-07 22:28:09 UTC) #14
maniscalco
https://codereview.chromium.org/1765293002/diff/100001/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): https://codereview.chromium.org/1765293002/diff/100001/chrome/browser/browser_process_impl.cc#newcode857 chrome/browser/browser_process_impl.cc:857: #if defined(ENABLE_REPORTING_HEADLESS) Was leaving the word blimp out of ...
4 years, 9 months ago (2016-03-08 16:38:22 UTC) #16
Alexei Svitkine (slow)
Hmm, I feel like maybe we should add BLIMP to that define - otherwise it's ...
4 years, 9 months ago (2016-03-08 17:28:06 UTC) #17
Dirk Pranke
On 2016/03/08 17:28:06, Alexei Svitkine (slow) wrote: > Hmm, I feel like maybe we should ...
4 years, 9 months ago (2016-03-08 17:33:52 UTC) #18
Jess
Agreed and changed. https://codereview.chromium.org/1765293002/diff/100001/chrome/browser/browser_process_impl.cc File chrome/browser/browser_process_impl.cc (right): https://codereview.chromium.org/1765293002/diff/100001/chrome/browser/browser_process_impl.cc#newcode857 chrome/browser/browser_process_impl.cc:857: #if defined(ENABLE_REPORTING_HEADLESS) On 2016/03/08 16:38:22, maniscalco ...
4 years, 9 months ago (2016-03-08 18:29:09 UTC) #19
Alexei Svitkine (slow)
lgtm
4 years, 9 months ago (2016-03-08 19:03:26 UTC) #20
brettw
lgtm
4 years, 9 months ago (2016-03-11 18:43:14 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1765293002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1765293002/120001
4 years, 9 months ago (2016-03-11 18:50:31 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/195579)
4 years, 9 months ago (2016-03-11 20:12:27 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1765293002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1765293002/120001
4 years, 9 months ago (2016-03-11 21:20:57 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-11 22:34:58 UTC) #30
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 22:37:16 UTC) #32
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ab7a08b61e58d1a50565cb892f3402cebafbcf16
Cr-Commit-Position: refs/heads/master@{#380760}

Powered by Google App Engine
This is Rietveld 408576698