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

Issue 344883002: Collect UMA statistics on which chrome://flags lead to chrome restart on ChromeOS. (Closed)

Created:
6 years, 6 months ago by Alexander Alekseev
Modified:
6 years, 3 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, davemoore+watch_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Collect UMA statistics on which chrome://flags lead to chrome restart on ChromeOS. On ChromeOS browser is restarted to apply user flags. We need to calculate statistics on which flags mostly affect users. BUG=386313 TEST=unittest Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289919

Patch Set 1 #

Total comments: 12

Patch Set 2 : Fix bug in about_flags.cc. Sdded comments. s/restarting/custom/ #

Total comments: 7

Patch Set 3 : Add switches histogram IDs to about_flags. #

Patch Set 4 : Added test for AreSwitchesIdenticalToCurrentCommandLine(..., difference). #

Total comments: 28

Patch Set 5 : Update after review. #

Total comments: 16

Patch Set 6 : Update after review. #

Patch Set 7 : Added myself as OWNER of about_flags_switches_histogram_ids.h #

Patch Set 8 : Remove "enable-accessibility-script-injection" from about_flags.cc #

Total comments: 3

Patch Set 9 : Remove unused UMA_HISTOGRAM_ID_kEnableAccessibilityScriptInjection. #

Patch Set 10 : Move ReportCustomFlags to about_flags.cc #

Total comments: 26

Patch Set 11 : Update after review. #

Patch Set 12 : Renamed about_flags_switches_histogram_id.h -> about_flags_switches_histogram_ids.h . #

Total comments: 10

Patch Set 13 : Presubmit hook added. #

Total comments: 8

Patch Set 14 : Removed presubmit hooks, refactored unit test, fixed isolation. #

Patch Set 15 : Use UMA_HISTOGRAM_SPARSE_SLOWLY macro. #

Patch Set 16 : Use PathService to get DIR_SOURCE_ROOT in unit test. #

Total comments: 36

Patch Set 17 : Update after review. #

Total comments: 8

Patch Set 18 : Update after review. #

Patch Set 19 : Report hash(switch name). #

Total comments: 8

Patch Set 20 : Update after review. #

Total comments: 36

Patch Set 21 : Update after review. #

Total comments: 8

Patch Set 22 : Update after review. #

Total comments: 18

Patch Set 23 : Comment updated. #

Patch Set 24 : Merge tests. Add test dependency on histograms.xml. #

Patch Set 25 : Added a comment why histograms.xml is listed in the sources. #

Patch Set 26 : Rebased. #

Patch Set 27 : Add exception for histograms.xml. #

Patch Set 28 : Added comments to about_flags.cc. Added missing histogram enum entry. #

Patch Set 29 : Fix windows build. #

Patch Set 30 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+718 lines, -14 lines) Patch
M chrome/browser/about_flags.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +21 lines, -1 line 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 7 chunks +65 lines, -4 lines 0 comments Download
M chrome/browser/about_flags_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 6 chunks +312 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 4 chunks +26 lines, -3 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/unit_tests.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -0 lines 0 comments Download
M testing/buildbot/trybot_analyze_config.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +288 lines, -0 lines 0 comments Download

Messages

Total messages: 129 (0 generated)
Alexander Alekseev
Please review: sky@ : chrome/browser/about_flags.cc chrome/browser/about_flags.h chrome/browser/about_flags_unittest.cc dpolukhin@, nkostylev@ : all
6 years, 6 months ago (2014-06-19 16:15:51 UTC) #1
Nikita (slow)
https://codereview.chromium.org/344883002/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/344883002/diff/1/chrome/browser/about_flags.cc#newcode2160 chrome/browser/about_flags.cc:2160: std::equal(new_flags.begin(), new_flags.end(), active_flags.begin()); result = https://codereview.chromium.org/344883002/diff/1/chrome/browser/about_flags.h File chrome/browser/about_flags.h (right): ...
6 years, 6 months ago (2014-06-19 17:08:08 UTC) #2
Nikita (slow)
https://codereview.chromium.org/344883002/diff/1/chrome/browser/chromeos/login/report_restarting_flags.cc File chrome/browser/chromeos/login/report_restarting_flags.cc (right): https://codereview.chromium.org/344883002/diff/1/chrome/browser/chromeos/login/report_restarting_flags.cc#newcode296 chrome/browser/chromeos/login/report_restarting_flags.cc:296: LOG(ERROR) << "ReportRestartingFlags(): i=" << i << " \"" ...
6 years, 6 months ago (2014-06-19 17:26:45 UTC) #3
Alexander Alekseev
https://codereview.chromium.org/344883002/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/344883002/diff/1/chrome/browser/about_flags.cc#newcode2160 chrome/browser/about_flags.cc:2160: std::equal(new_flags.begin(), new_flags.end(), active_flags.begin()); On 2014/06/19 17:08:07, Nikita Kostylev wrote: ...
6 years, 6 months ago (2014-06-19 18:17:47 UTC) #4
Alexander Alekseev
Please review.
6 years, 6 months ago (2014-06-19 18:18:23 UTC) #5
sky
https://codereview.chromium.org/344883002/diff/20001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/344883002/diff/20001/chrome/browser/about_flags.cc#newcode1940 chrome/browser/about_flags.cc:1940: // chrome/browser/chromeos/login/report_custom_flags.cc This is not maintainable. You need to ...
6 years, 6 months ago (2014-06-19 20:23:28 UTC) #6
Alexander Alekseev
https://codereview.chromium.org/344883002/diff/20001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/344883002/diff/20001/chrome/browser/about_flags.cc#newcode1940 chrome/browser/about_flags.cc:1940: // chrome/browser/chromeos/login/report_custom_flags.cc On 2014/06/19 20:23:28, sky wrote: > This ...
6 years, 6 months ago (2014-06-20 18:42:45 UTC) #7
chromium-reviews
One possibility would be to use a sparse histogram and log the hash of the ...
6 years, 6 months ago (2014-06-20 18:49:26 UTC) #8
Alexander Alekseev
On 2014/06/20 18:49:26, chromium-reviews wrote: > One possibility would be to use a sparse histogram ...
6 years, 6 months ago (2014-06-20 18:55:37 UTC) #9
chromium-reviews
Can you ignore the preprocessor and generate hashes for every entry you see? Having extra ...
6 years, 6 months ago (2014-06-20 19:00:11 UTC) #10
Alexander Alekseev
On 2014/06/20 19:00:11, chromium-reviews wrote: > Can you ignore the preprocessor and generate hashes for ...
6 years, 6 months ago (2014-06-20 19:14:27 UTC) #11
chromium-reviews
It's possible to get pretty good results with a simple Python parser. We do similar ...
6 years, 6 months ago (2014-06-20 19:19:29 UTC) #12
Alexander Alekseev
On 2014/06/20 19:19:29, chromium-reviews wrote: > It's possible to get pretty good results with a ...
6 years, 6 months ago (2014-06-20 19:27:07 UTC) #13
sky
On Fri, Jun 20, 2014 at 12:27 PM, <alemate@chromium.org> wrote: > On 2014/06/20 19:19:29, chromium-reviews ...
6 years, 6 months ago (2014-06-20 22:53:01 UTC) #14
Alexander Alekseev
On 2014/06/20 22:53:01, sky wrote: > On Fri, Jun 20, 2014 at 12:27 PM, <mailto:alemate@chromium.org> ...
6 years, 6 months ago (2014-06-20 23:15:27 UTC) #15
Alexander Alekseev
Please review.
6 years, 6 months ago (2014-06-24 20:53:35 UTC) #16
Alexander Alekseev
I've moved switches histogram IDs to about_flags. I'll add test coverage for: bool AreSwitchesIdenticalToCurrentCommandLine( const ...
6 years, 6 months ago (2014-06-24 20:56:42 UTC) #17
Alexander Alekseev
https://codereview.chromium.org/344883002/diff/1/chrome/browser/chromeos/login/report_restarting_flags.cc File chrome/browser/chromeos/login/report_restarting_flags.cc (right): https://codereview.chromium.org/344883002/diff/1/chrome/browser/chromeos/login/report_restarting_flags.cc#newcode329 chrome/browser/chromeos/login/report_restarting_flags.cc:329: UMA_HISTOGRAM_SPARSE_SLOWLY("Login.RestartingFlags", uma_id); On 2014/06/19 17:26:44, Nikita Kostylev wrote: > ...
6 years, 6 months ago (2014-06-24 21:51:53 UTC) #18
Alexander Alekseev
6 years, 6 months ago (2014-06-24 21:51:53 UTC) #19
sky
I'm a bit swamped at the moment with reviews and demo stuff. I'm swapping myself ...
6 years, 6 months ago (2014-06-25 16:14:36 UTC) #20
Nico
(removing myself, i'm not currently doing chrome stuff)
6 years, 6 months ago (2014-06-25 16:21:29 UTC) #21
Nico
(removing myself and unchecking "add as reviewer:" :-P)
6 years, 6 months ago (2014-06-25 16:21:50 UTC) #22
sky
*SIGH* Lets try thestig.
6 years, 6 months ago (2014-06-25 16:33:14 UTC) #23
Lei Zhang
If you go with the manually curated enum list, consider writing a presubmit check that ...
6 years, 6 months ago (2014-06-25 23:52:16 UTC) #24
Alexander Alekseev
On 2014/06/25 23:52:16, Lei Zhang wrote: > If you go with the manually curated enum ...
6 years, 6 months ago (2014-06-26 00:10:23 UTC) #25
Lei Zhang
On 2014/06/26 00:10:23, alemate wrote: > On 2014/06/25 23:52:16, Lei Zhang wrote: > > If ...
6 years, 6 months ago (2014-06-26 01:11:16 UTC) #26
Lei Zhang
Some other thoughts: alemate: Regarding this feature in general: How often do CrOS users mess ...
6 years, 6 months ago (2014-06-26 01:17:44 UTC) #27
Alexander Alekseev
On 2014/06/26 01:17:44, Lei Zhang wrote: > Some other thoughts: > > alemate: Regarding this ...
6 years, 6 months ago (2014-06-26 01:54:50 UTC) #28
Lei Zhang
On 2014/06/26 01:54:50, alemate wrote: > On 2014/06/26 01:17:44, Lei Zhang wrote: > > Some ...
6 years, 6 months ago (2014-06-26 05:25:30 UTC) #29
Alexander Alekseev
On 2014/06/26 05:25:30, Lei Zhang wrote: > On 2014/06/26 01:54:50, alemate wrote: > > On ...
6 years, 6 months ago (2014-06-26 14:13:04 UTC) #30
Nikita (slow)
On 2014/06/26 14:13:04, alemate wrote: > On 2014/06/26 05:25:30, Lei Zhang wrote: > > On ...
6 years, 6 months ago (2014-06-26 14:56:27 UTC) #31
Lei Zhang
On 2014/06/26 14:56:27, Nikita Kostylev wrote: > On 2014/06/26 14:13:04, alemate wrote: > > On ...
6 years, 6 months ago (2014-06-26 16:42:43 UTC) #32
Alexander Alekseev
On 2014/06/26 16:42:43, Lei Zhang wrote: > On 2014/06/26 14:56:27, Nikita Kostylev wrote: > > ...
6 years, 6 months ago (2014-06-26 17:32:41 UTC) #33
chromium-reviews
We don't need the registry server-side, since it can be the equivalent of a sparse ...
6 years, 6 months ago (2014-06-26 17:52:28 UTC) #34
Lei Zhang
I chatted with Alexander but he still likes the UMA_HISTOGRAM as is better than using ...
6 years, 6 months ago (2014-06-26 20:03:14 UTC) #35
Alexander Alekseev
Please review. Additional reviewer: jochen@ : content/public/common/content_switches.* https://codereview.chromium.org/344883002/diff/60001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/344883002/diff/60001/chrome/browser/about_flags.cc#newcode152 chrome/browser/about_flags.cc:152: {IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", ...
6 years, 5 months ago (2014-06-27 19:28:37 UTC) #36
Alexander Alekseev
On 2014/06/27 19:28:37, alemate wrote: > Please review. > > Additional reviewer: > jochen@ : ...
6 years, 5 months ago (2014-06-27 19:31:40 UTC) #37
Lei Zhang
Did you want to add yourself as an owner for about_flags_switches_histogram_ids.h? https://codereview.chromium.org/344883002/diff/80001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): ...
6 years, 5 months ago (2014-06-27 19:46:45 UTC) #38
Alexander Alekseev
+jochen Additional reviewer: jochen@ : content/public/common/content_switches.* jochen@ : I found one android-only command-line switch, which ...
6 years, 5 months ago (2014-06-30 15:06:02 UTC) #39
jochen (gone - plz use gerrit)
where is the switch used? If it's not used in content, it shouldn't be in ...
6 years, 5 months ago (2014-06-30 15:14:39 UTC) #40
Alexander Alekseev
On 2014/06/30 15:14:39, jochen wrote: > where is the switch used? If it's not used ...
6 years, 5 months ago (2014-06-30 15:20:14 UTC) #41
jochen (gone - plz use gerrit)
according to crbug.com/356775 this flag should just be removed
6 years, 5 months ago (2014-07-01 08:24:52 UTC) #42
Alexander Alekseev
On 2014/07/01 08:24:52, jochen wrote: > according to crbug.com/356775 this flag should just be removed ...
6 years, 5 months ago (2014-07-01 12:23:50 UTC) #43
Alexander Alekseev
On 2014/06/27 19:46:45, Lei Zhang wrote: > Did you want to add yourself as an ...
6 years, 5 months ago (2014-07-01 13:34:21 UTC) #44
jochen (gone - plz use gerrit)
+dmazzoni - can you remove the now obsolete from from crbug.com/356775 so we don't have ...
6 years, 5 months ago (2014-07-02 13:22:16 UTC) #45
dmazzoni
Sure, you can remove the native android accessibility flag now - or feel free to ...
6 years, 5 months ago (2014-07-02 13:33:45 UTC) #46
Alexander Alekseev
On 2014/07/02 13:33:45, dmazzoni wrote: > Sure, you can remove the native android accessibility flag ...
6 years, 5 months ago (2014-07-02 13:45:38 UTC) #47
Alexander Alekseev
I've removed "enable-accessibility-script-injection" from about_flags.cc
6 years, 5 months ago (2014-07-02 14:01:08 UTC) #48
jochen (gone - plz use gerrit)
chrome/browser/OWNERS lgtm
6 years, 5 months ago (2014-07-02 14:03:31 UTC) #49
Lei Zhang
lgtm Drop the unused UMA_HISTOGRAM_ID_kEnableAccessibilityScriptInjection ?
6 years, 5 months ago (2014-07-02 17:42:46 UTC) #50
Alexei Svitkine (slow)
https://codereview.chromium.org/344883002/diff/140001/chrome/browser/chromeos/login/login_utils.cc File chrome/browser/chromeos/login/login_utils.cc (right): https://codereview.chromium.org/344883002/diff/140001/chrome/browser/chromeos/login/login_utils.cc#newcode127 chrome/browser/chromeos/login/login_utils.cc:127: UMA_HISTOGRAM_SPARSE_SLOWLY("Login.CustomFlags", uma_id); Wouldn't this histogram be useful on other ...
6 years, 5 months ago (2014-07-02 17:45:41 UTC) #51
Alexander Alekseev
https://codereview.chromium.org/344883002/diff/140001/chrome/browser/chromeos/login/login_utils.cc File chrome/browser/chromeos/login/login_utils.cc (right): https://codereview.chromium.org/344883002/diff/140001/chrome/browser/chromeos/login/login_utils.cc#newcode127 chrome/browser/chromeos/login/login_utils.cc:127: UMA_HISTOGRAM_SPARSE_SLOWLY("Login.CustomFlags", uma_id); On 2014/07/02 17:45:40, Alexei Svitkine wrote: > ...
6 years, 5 months ago (2014-07-02 17:55:04 UTC) #52
Alexander Alekseev
On 2014/07/02 17:42:46, Lei Zhang wrote: > lgtm > > Drop the unused UMA_HISTOGRAM_ID_kEnableAccessibilityScriptInjection ? ...
6 years, 5 months ago (2014-07-02 18:00:25 UTC) #53
Lei Zhang
https://codereview.chromium.org/344883002/diff/140001/chrome/browser/chromeos/login/login_utils.cc File chrome/browser/chromeos/login/login_utils.cc (right): https://codereview.chromium.org/344883002/diff/140001/chrome/browser/chromeos/login/login_utils.cc#newcode127 chrome/browser/chromeos/login/login_utils.cc:127: UMA_HISTOGRAM_SPARSE_SLOWLY("Login.CustomFlags", uma_id); On 2014/07/02 17:55:03, alemate wrote: > On ...
6 years, 5 months ago (2014-07-02 19:01:05 UTC) #54
Alexander Alekseev
On 2014/07/02 19:01:05, Lei Zhang wrote: > https://codereview.chromium.org/344883002/diff/140001/chrome/browser/chromeos/login/login_utils.cc > File chrome/browser/chromeos/login/login_utils.cc (right): > > https://codereview.chromium.org/344883002/diff/140001/chrome/browser/chromeos/login/login_utils.cc#newcode127 ...
6 years, 5 months ago (2014-07-02 20:39:27 UTC) #55
Lei Zhang
On 2014/07/02 17:45:41, Alexei Svitkine wrote: > https://codereview.chromium.org/344883002/diff/140001/chrome/browser/chromeos/login/login_utils.cc > File chrome/browser/chromeos/login/login_utils.cc (right): > > https://codereview.chromium.org/344883002/diff/140001/chrome/browser/chromeos/login/login_utils.cc#newcode127 ...
6 years, 5 months ago (2014-07-02 20:48:58 UTC) #56
Nikita (slow)
chrome/browser/chromeos/login/* lgtm
6 years, 5 months ago (2014-07-03 13:43:55 UTC) #57
Alexander Alekseev
isherman@, please review: tools/metrics/histograms/histograms.xml chrome/browser/about_flags_unittest.cc (because about_flags_unittest.cc is now cheking histograms.xml contents)
6 years, 5 months ago (2014-07-03 14:02:52 UTC) #58
Ilya Sherman
You may wish to crib more from [ https://code.google.com/p/chromium/codesearch#chromium/src/extensions/browser/extension_function_histogram_value.h ]. That design seems to work ...
6 years, 5 months ago (2014-07-08 04:22:11 UTC) #59
Alexander Alekseev
https://codereview.chromium.org/344883002/diff/180001/chrome/browser/about_flags.h File chrome/browser/about_flags.h (right): https://codereview.chromium.org/344883002/diff/180001/chrome/browser/about_flags.h#newcode68 chrome/browser/about_flags.h:68: const int command_line_switch_histogram_id; On 2014/07/08 04:22:11, Ilya Sherman wrote: ...
6 years, 5 months ago (2014-07-08 20:45:37 UTC) #60
Ilya Sherman
https://codereview.chromium.org/344883002/diff/180001/chrome/browser/about_flags_unittest.cc File chrome/browser/about_flags_unittest.cc (right): https://codereview.chromium.org/344883002/diff/180001/chrome/browser/about_flags_unittest.cc#newcode862 chrome/browser/about_flags_unittest.cc:862: histograms_xml.LoadFile("tools/metrics/histograms/histograms.xml")); On 2014/07/08 20:45:36, alemate wrote: > On 2014/07/08 ...
6 years, 5 months ago (2014-07-09 00:10:51 UTC) #61
Alexander Alekseev
https://codereview.chromium.org/344883002/diff/180001/chrome/browser/about_flags_unittest.cc File chrome/browser/about_flags_unittest.cc (right): https://codereview.chromium.org/344883002/diff/180001/chrome/browser/about_flags_unittest.cc#newcode862 chrome/browser/about_flags_unittest.cc:862: histograms_xml.LoadFile("tools/metrics/histograms/histograms.xml")); On 2014/07/09 00:10:50, Ilya Sherman wrote: > On ...
6 years, 5 months ago (2014-07-11 18:13:27 UTC) #62
Ilya Sherman
https://codereview.chromium.org/344883002/diff/180001/chrome/browser/about_flags_unittest.cc File chrome/browser/about_flags_unittest.cc (right): https://codereview.chromium.org/344883002/diff/180001/chrome/browser/about_flags_unittest.cc#newcode862 chrome/browser/about_flags_unittest.cc:862: histograms_xml.LoadFile("tools/metrics/histograms/histograms.xml")); On 2014/07/11 18:13:27, alemate wrote: > On 2014/07/09 ...
6 years, 5 months ago (2014-07-12 00:25:10 UTC) #63
Ilya Sherman
https://codereview.chromium.org/344883002/diff/220001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/344883002/diff/220001/chrome/browser/about_flags.cc#newcode2603 chrome/browser/about_flags.cc:2603: // skip '--' before switch name nit: Comments should ...
6 years, 5 months ago (2014-07-12 00:30:56 UTC) #64
Alexander Alekseev
I've added presubmit hook + test for it. jochen@, please review python code. about_flags_switches_histogram_ids_checker_test.py is ...
6 years, 5 months ago (2014-07-21 15:22:28 UTC) #65
Ilya Sherman
https://codereview.chromium.org/344883002/diff/180001/chrome/browser/about_flags_unittest.cc File chrome/browser/about_flags_unittest.cc (right): https://codereview.chromium.org/344883002/diff/180001/chrome/browser/about_flags_unittest.cc#newcode862 chrome/browser/about_flags_unittest.cc:862: histograms_xml.LoadFile("tools/metrics/histograms/histograms.xml")); On 2014/07/21 15:22:27, alemate wrote: > On 2014/07/12 ...
6 years, 5 months ago (2014-07-21 22:13:00 UTC) #66
Alexander Alekseev
https://codereview.chromium.org/344883002/diff/180001/chrome/browser/about_flags_unittest.cc File chrome/browser/about_flags_unittest.cc (right): https://codereview.chromium.org/344883002/diff/180001/chrome/browser/about_flags_unittest.cc#newcode862 chrome/browser/about_flags_unittest.cc:862: histograms_xml.LoadFile("tools/metrics/histograms/histograms.xml")); On 2014/07/21 22:12:59, Ilya Sherman wrote: > On ...
6 years, 5 months ago (2014-07-22 14:25:06 UTC) #67
Ilya Sherman
I'll try to distill our conversation from earlier today: After taking a step back to ...
6 years, 5 months ago (2014-07-22 20:37:05 UTC) #68
sky
I like the less invasive approach. Why aren't we going with it? On Tue, Jul ...
6 years, 5 months ago (2014-07-22 21:22:44 UTC) #69
Alexander Alekseev
+maruel for chrome/unit_tests.isolate On 2014/07/22 20:37:05, Ilya Sherman wrote: > I'll try to distill our ...
6 years, 4 months ago (2014-07-28 22:30:06 UTC) #70
Ilya Sherman
Did you see Scott's question (i.e. the comment immediately preceding yours)? I'll take a look ...
6 years, 4 months ago (2014-07-28 22:47:31 UTC) #71
Alexander Alekseev
On 2014/07/22 21:22:44, sky wrote: > I like the less invasive approach. Why aren't we ...
6 years, 4 months ago (2014-07-28 23:41:38 UTC) #72
Ilya Sherman
On 2014/07/28 23:41:38, alemate wrote: > On 2014/07/22 21:22:44, sky wrote: > > I like ...
6 years, 4 months ago (2014-07-28 23:57:08 UTC) #73
Alexander Alekseev
On 2014/07/28 22:47:31, Ilya Sherman wrote: > Did you see Scott's question (i.e. the comment ...
6 years, 4 months ago (2014-07-29 00:07:24 UTC) #74
Alexander Alekseev
On 2014/07/28 23:57:08, Ilya Sherman wrote: > On 2014/07/28 23:41:38, alemate wrote: > > On ...
6 years, 4 months ago (2014-07-29 00:25:54 UTC) #75
Ilya Sherman
On 2014/07/29 00:25:54, alemate wrote: > On 2014/07/28 23:57:08, Ilya Sherman wrote: > > On ...
6 years, 4 months ago (2014-07-29 00:50:06 UTC) #76
Ilya Sherman
W.r.t. the code if you keep the current approach: https://chromiumcodereview.appspot.com/344883002/diff/300001/chrome/browser/about_flags_unittest.cc File chrome/browser/about_flags_unittest.cc (right): https://chromiumcodereview.appspot.com/344883002/diff/300001/chrome/browser/about_flags_unittest.cc#newcode402 chrome/browser/about_flags_unittest.cc:402: ...
6 years, 4 months ago (2014-07-29 07:16:46 UTC) #77
M-A Ruel
.isolate lgtm https://codereview.chromium.org/344883002/diff/300001/chrome/unit_tests.isolate File chrome/unit_tests.isolate (right): https://codereview.chromium.org/344883002/diff/300001/chrome/unit_tests.isolate#newcode17 chrome/unit_tests.isolate:17: '../tools/metrics/histograms/histograms.xml', It's needed in android too?
6 years, 4 months ago (2014-07-29 19:19:41 UTC) #78
Alexander Alekseev
On 2014/07/29 00:50:06, Ilya Sherman wrote: > On 2014/07/29 00:25:54, alemate wrote: > > On ...
6 years, 4 months ago (2014-07-31 00:17:53 UTC) #79
Alexander Alekseev
https://chromiumcodereview.appspot.com/344883002/diff/300001/chrome/browser/about_flags_unittest.cc File chrome/browser/about_flags_unittest.cc (right): https://chromiumcodereview.appspot.com/344883002/diff/300001/chrome/browser/about_flags_unittest.cc#newcode402 chrome/browser/about_flags_unittest.cc:402: for (SwitchesHistogramIDs::const_iterator i = switch_histogram_id.begin(); On 2014/07/29 07:16:45, Ilya ...
6 years, 4 months ago (2014-07-31 00:18:08 UTC) #80
Ilya Sherman
On 2014/07/31 00:17:53, alemate wrote: > For me the expected result here is histogram. And ...
6 years, 4 months ago (2014-07-31 00:25:11 UTC) #81
Ilya Sherman
https://chromiumcodereview.appspot.com/344883002/diff/300001/chrome/browser/about_flags_unittest.cc File chrome/browser/about_flags_unittest.cc (right): https://chromiumcodereview.appspot.com/344883002/diff/300001/chrome/browser/about_flags_unittest.cc#newcode414 chrome/browser/about_flags_unittest.cc:414: } else { On 2014/07/31 00:18:08, alemate wrote: > ...
6 years, 4 months ago (2014-07-31 00:37:52 UTC) #82
Alexander Alekseev
On 2014/07/31 00:37:52, Ilya Sherman wrote: > https://chromiumcodereview.appspot.com/344883002/diff/300001/chrome/browser/about_flags_unittest.cc > File chrome/browser/about_flags_unittest.cc (right): > > https://chromiumcodereview.appspot.com/344883002/diff/300001/chrome/browser/about_flags_unittest.cc#newcode414 ...
6 years, 4 months ago (2014-07-31 01:32:07 UTC) #83
M-A Ruel
https://chromiumcodereview.appspot.com/344883002/diff/300001/chrome/unit_tests.isolate File chrome/unit_tests.isolate (right): https://chromiumcodereview.appspot.com/344883002/diff/300001/chrome/unit_tests.isolate#newcode17 chrome/unit_tests.isolate:17: '../tools/metrics/histograms/histograms.xml', On 2014/07/31 00:18:08, alemate wrote: > On 2014/07/29 ...
6 years, 4 months ago (2014-07-31 13:29:26 UTC) #84
Alexander Alekseev
I've updated CL to report hashes. Please review.
6 years, 4 months ago (2014-08-05 09:39:31 UTC) #85
sky
https://codereview.chromium.org/344883002/diff/360001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/344883002/diff/360001/chrome/browser/about_flags.cc#newcode1522 chrome/browser/about_flags.cc:1522: UMA_HISTOGRAM_ID_kEnableAccessibilityTabSwitcher) Why are you doing this change? https://codereview.chromium.org/344883002/diff/360001/chrome/browser/about_flags.h File ...
6 years, 4 months ago (2014-08-05 16:49:15 UTC) #86
Alexander Alekseev
https://codereview.chromium.org/344883002/diff/360001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/344883002/diff/360001/chrome/browser/about_flags.cc#newcode1522 chrome/browser/about_flags.cc:1522: UMA_HISTOGRAM_ID_kEnableAccessibilityTabSwitcher) On 2014/08/05 16:49:14, sky wrote: > Why are ...
6 years, 4 months ago (2014-08-05 17:03:07 UTC) #87
Ilya Sherman
https://codereview.chromium.org/344883002/diff/380001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (left): https://codereview.chromium.org/344883002/diff/380001/chrome/browser/about_flags.cc#oldcode1528 chrome/browser/about_flags.cc:1528: }, This diff seems unrelated to your CL. https://codereview.chromium.org/344883002/diff/380001/chrome/browser/about_flags.cc ...
6 years, 4 months ago (2014-08-05 20:14:47 UTC) #88
Alexei Svitkine (slow)
https://codereview.chromium.org/344883002/diff/380001/tools/metrics/histograms/verify_enum_custom_flags.py File tools/metrics/histograms/verify_enum_custom_flags.py (right): https://codereview.chromium.org/344883002/diff/380001/tools/metrics/histograms/verify_enum_custom_flags.py#newcode236 tools/metrics/histograms/verify_enum_custom_flags.py:236: return self.results On 2014/08/05 20:14:47, Ilya Sherman wrote: > ...
6 years, 4 months ago (2014-08-05 20:47:52 UTC) #89
Ilya Sherman
https://codereview.chromium.org/344883002/diff/380001/tools/metrics/histograms/verify_enum_custom_flags.py File tools/metrics/histograms/verify_enum_custom_flags.py (right): https://codereview.chromium.org/344883002/diff/380001/tools/metrics/histograms/verify_enum_custom_flags.py#newcode236 tools/metrics/histograms/verify_enum_custom_flags.py:236: return self.results On 2014/08/05 20:47:52, Alexei Svitkine wrote: > ...
6 years, 4 months ago (2014-08-05 20:50:36 UTC) #90
Alexander Alekseev
https://codereview.chromium.org/344883002/diff/380001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (left): https://codereview.chromium.org/344883002/diff/380001/chrome/browser/about_flags.cc#oldcode1528 chrome/browser/about_flags.cc:1528: }, On 2014/08/05 20:14:46, Ilya Sherman wrote: > This ...
6 years, 4 months ago (2014-08-07 23:24:56 UTC) #91
Ilya Sherman
https://codereview.chromium.org/344883002/diff/380001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (left): https://codereview.chromium.org/344883002/diff/380001/chrome/browser/about_flags.cc#oldcode1528 chrome/browser/about_flags.cc:1528: }, On 2014/08/07 23:24:55, alemate wrote: > On 2014/08/05 ...
6 years, 4 months ago (2014-08-08 03:49:46 UTC) #92
Alexander Alekseev
https://codereview.chromium.org/344883002/diff/380001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (left): https://codereview.chromium.org/344883002/diff/380001/chrome/browser/about_flags.cc#oldcode1528 chrome/browser/about_flags.cc:1528: }, On 2014/08/08 03:49:45, Ilya Sherman wrote: > On ...
6 years, 4 months ago (2014-08-09 01:30:01 UTC) #93
Ilya Sherman
LGTM. Thanks.
6 years, 4 months ago (2014-08-11 21:26:52 UTC) #94
Alexander Alekseev
sky@: Do you have additional comments?
6 years, 4 months ago (2014-08-11 21:51:11 UTC) #95
sky
https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags.cc#newcode2309 chrome/browser/about_flags.cc:2309: VLOG(1) << "ReportCustomFlags(): histogram='" << uma_histogram_hame << "' '" ...
6 years, 4 months ago (2014-08-11 23:45:45 UTC) #96
Alexander Alekseev
https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags.cc#newcode2309 chrome/browser/about_flags.cc:2309: VLOG(1) << "ReportCustomFlags(): histogram='" << uma_histogram_hame << "' '" ...
6 years, 4 months ago (2014-08-12 18:02:26 UTC) #97
Alexander Alekseev
https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags.cc#newcode2309 chrome/browser/about_flags.cc:2309: VLOG(1) << "ReportCustomFlags(): histogram='" << uma_histogram_hame << "' '" ...
6 years, 4 months ago (2014-08-12 18:03:15 UTC) #98
Ilya Sherman
Whoops, wrote a comment yesterday but failed to mail it: https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags_histogram_unittest.cc File chrome/browser/about_flags_histogram_unittest.cc (right): https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags_histogram_unittest.cc#newcode1 ...
6 years, 4 months ago (2014-08-12 18:05:31 UTC) #99
sky
https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags.cc#newcode2309 chrome/browser/about_flags.cc:2309: VLOG(1) << "ReportCustomFlags(): histogram='" << uma_histogram_hame << "' '" ...
6 years, 4 months ago (2014-08-12 19:57:13 UTC) #100
Ilya Sherman
https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags_histogram_unittest.cc File chrome/browser/about_flags_histogram_unittest.cc (right): https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags_histogram_unittest.cc#newcode216 chrome/browser/about_flags_histogram_unittest.cc:216: histograms_xml_file_path = histograms_xml_file_path.AppendASCII("tools") On 2014/08/12 19:57:13, sky wrote: > ...
6 years, 4 months ago (2014-08-12 20:07:16 UTC) #101
sky
https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags_histogram_unittest.cc File chrome/browser/about_flags_histogram_unittest.cc (right): https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags_histogram_unittest.cc#newcode216 chrome/browser/about_flags_histogram_unittest.cc:216: histograms_xml_file_path = histograms_xml_file_path.AppendASCII("tools") On 2014/08/12 20:07:16, Ilya Sherman wrote: ...
6 years, 4 months ago (2014-08-12 22:42:03 UTC) #102
Alexander Alekseev
https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags.cc#newcode2309 chrome/browser/about_flags.cc:2309: VLOG(1) << "ReportCustomFlags(): histogram='" << uma_histogram_hame << "' '" ...
6 years, 4 months ago (2014-08-13 19:59:34 UTC) #103
sky
On Wed, Aug 13, 2014 at 12:59 PM, <alemate@chromium.org> wrote: > > https://codereview.chromium.org/344883002/diff/420001/chrome/browser/about_flags.cc > File ...
6 years, 4 months ago (2014-08-13 20:13:05 UTC) #104
sky
On Wed, Aug 13, 2014 at 1:13 PM, Scott Violet <sky@chromium.org> wrote: > On Wed, ...
6 years, 4 months ago (2014-08-13 20:14:28 UTC) #105
Alexander Alekseev
On 2014/08/13 20:14:28, sky wrote: > On Wed, Aug 13, 2014 at 1:13 PM, Scott ...
6 years, 4 months ago (2014-08-14 02:10:06 UTC) #106
sky
Bummer, but ok, LGTM
6 years, 4 months ago (2014-08-14 16:47:18 UTC) #107
Alexander Alekseev
The CQ bit was checked by alemate@chromium.org
6 years, 4 months ago (2014-08-14 17:02:31 UTC) #108
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alemate@chromium.org/344883002/560001
6 years, 4 months ago (2014-08-14 17:04:35 UTC) #109
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-15 00:17:23 UTC) #110
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-15 06:18:08 UTC) #111
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/6074)
6 years, 4 months ago (2014-08-15 06:18:11 UTC) #112
Nikita (slow)
The CQ bit was checked by nkostylev@chromium.org
6 years, 4 months ago (2014-08-15 09:06:03 UTC) #113
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alemate@chromium.org/344883002/560001
6 years, 4 months ago (2014-08-15 09:08:26 UTC) #114
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-15 09:15:51 UTC) #115
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-15 09:25:43 UTC) #116
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/6388)
6 years, 4 months ago (2014-08-15 09:25:45 UTC) #117
Nikita (slow)
Rebase is needed: Applying the patch. Failed to apply patch for chrome/browser/about_flags.cc:
6 years, 4 months ago (2014-08-15 09:26:34 UTC) #118
Alexander Alekseev
The CQ bit was checked by alemate@chromium.org
6 years, 4 months ago (2014-08-15 14:29:38 UTC) #119
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alemate@chromium.org/344883002/560001
6 years, 4 months ago (2014-08-15 14:31:38 UTC) #120
Alexander Alekseev
The CQ bit was unchecked by alemate@chromium.org
6 years, 4 months ago (2014-08-15 14:33:07 UTC) #121
Alexander Alekseev
The CQ bit was checked by alemate@chromium.org
6 years, 4 months ago (2014-08-15 14:41:04 UTC) #122
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alemate@chromium.org/344883002/580001
6 years, 4 months ago (2014-08-15 14:42:21 UTC) #123
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-15 16:36:24 UTC) #124
commit-bot: I haz the power
Committed patchset #30 (580001) as 289919
6 years, 4 months ago (2014-08-15 17:13:50 UTC) #125
chromium-reviews
I noticed that we see a bunch of hashes which the dashboard isn't able to ...
6 years, 4 months ago (2014-08-22 15:05:25 UTC) #126
chromium-reviews
Also, a lot of the unmapped ones above seem to have negative values, while the ...
6 years, 4 months ago (2014-08-22 15:07:55 UTC) #127
chromium-reviews
I'll look into it. (During the last 4 days git migration happened and I am ...
6 years, 3 months ago (2014-08-26 11:55:24 UTC) #128
chromium-reviews
6 years, 3 months ago (2014-08-27 17:15:04 UTC) #129
Actually CustomFlags histogram is reported as full uint32_t .
On the other hand, most chromeOS devices are 32-bit, so locally those
integers are negative.
Negative integers in uma.googleplex.com means that histogram values are
actually signed and have different repsesentation on 32 oand 64-bit
systems. That's sad.
I'll make the fix for it.


On Fri, Aug 22, 2014 at 7:07 PM, Alexei Svitkine <asvitkine@google.com>
wrote:

> Also, a lot of the unmapped ones above seem to have negative values, while
> the XML file doesn't have any with negative values. Perhaps there's an
> issue with signed/unsigned conversion? (I didn't check your CL, but my
> impression was that the plan was to always send positive hashes - i.e.
> strip the sign bit - perhaps the C++ code doesn't do that while the code
> that generates the XML definition does?)
>
>
> On Fri, Aug 22, 2014 at 11:04 AM, Alexei Svitkine <asvitkine@google.com>
> wrote:
>
>> I noticed that we see a bunch of hashes which the dashboard isn't able to
>> map to flags with this histogram:
>>
>>
>>
https://uma.googleplex.com/p/chrome/histograms/?dayCount=1&endDate=08-21-2014...
>>
>> Any idea where those are coming from?
>>
>> Could it be that we're missing some flags (e.g. those defined in
>> components or elsewhere)? Could you investigate making the mapping more
>> comprehensive? Thanks.
>>
>>
>> On Fri, Aug 15, 2014 at 1:13 PM, <commit-bot@chromium.org> wrote:
>>
>>> Committed patchset #30 (580001) as 289919
>>>
>>> https://codereview.chromium.org/344883002/
>>>
>>
>>
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698