Index: chrome/installer/setup/installer_metrics.cc |
diff --git a/chrome/installer/setup/installer_metrics.cc b/chrome/installer/setup/installer_metrics.cc |
index 8e5f0443e437f7589493be0818c56ef397cf2b17..6347d3245fa3cdfdd57880168f451271ad97d01b 100644 |
--- a/chrome/installer/setup/installer_metrics.cc |
+++ b/chrome/installer/setup/installer_metrics.cc |
@@ -21,6 +21,10 @@ void BeginPersistentHistogramStorage() { |
installer::kSetupHistogramAllocatorName)); |
base::GetPersistentHistogramMemoryAllocator()->CreateTrackingHistograms( |
installer::kSetupHistogramAllocatorName); |
+ |
+ // This can't be enabled until after the allocator is configured because |
+ // there is no other reporting out of setup other than persistent memory. |
+ base::HistogramBase::EnableCreationReportHistogram("setup"); |
Alexei Svitkine (slow)
2016/03/01 16:41:34
I find it unfortunate that we need an extra call (
bcwhite
2016/03/02 19:14:19
Most of the time, the Report histogram will be ena
Alexei Svitkine (slow)
2016/03/03 17:56:23
You can have a helper function that calls the macr
bcwhite
2016/03/07 13:39:25
I guess I've done so much work on histograms that
Alexei Svitkine (slow)
2016/03/07 16:16:46
Right - my preference is to use the macros because
bcwhite
2016/03/07 20:09:25
Well... We're just going to have to agree to disa
Alexei Svitkine (slow)
2016/03/07 20:26:22
Okay, that's fair. Can you add a comment about thi
bcwhite
2016/03/07 20:47:34
Done.
Alexei Svitkine (slow)
2016/03/07 21:14:50
Yep - I see it! (I was using --gunit_shuffle inste
bcwhite
2016/03/07 22:20:41
Done.
|
} |
void EndPersistentHistogramStorage(const base::FilePath& target_path) { |