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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 2015533005: Record the return value of NativeLibraryPreloader.loadLibrary in UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « content/renderer/renderer_main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 7f9633f663c1c569e1f67d5c5bf150cddaa993b5..fd30612b73d13d4afb6facdf08afe7c06c00a44a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -404,6 +404,24 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Android.NativeLibraryPreloader.Result.Browser"
+ enum="NativeLibraryPreloaderResult">
+ <owner>michaelbai@chromium.org</owner>
+ <summary>
+ The return value of NativeLibraryPreloader.loadLibrary() in browser process,
+ is recorded once per browser process start.
+ </summary>
+</histogram>
+
+<histogram name="Android.NativeLibraryPreloader.Result.Renderer"
+ enum="NativeLibraryPreloaderResult">
+ <owner>michaelbai@chromium.org</owner>
+ <summary>
+ The return value of NativeLibraryPreloader.loadLibrary() in renderer
+ process, is recorded once per renderer process start.
+ </summary>
+</histogram>
+
<histogram name="Android.NTP.Impression" enum="NTPImpressionType">
<owner>finkm@chromium.org</owner>
<summary>
@@ -80209,6 +80227,19 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="1" label="Hit"/>
</enum>
+<enum name="NativeLibraryPreloaderResult" type="int">
+ <int value="0" label="SUCCESS"/>
+ <int value="1" label="WRONG_PACKAGE_NAME"/>
+ <int value="2" label="ADDRESS_SPACE_NOT_RESERVED"/>
+ <int value="3" label="FAILED_WAITING_FOR_RELRO"/>
+ <int value="4" label="FAILED_LISTING_WEBVIEW_PACKAGES"/>
+ <int value="5" label="FAILED_TO_OPEN_RELRO_FILE"/>
+ <int value="6" label="FAILED_TO_LOAD_LIBRARY"/>
+ <int value="7" label="FAILED_JNI_CALL"/>
+ <int value="8" label="FAILED_WAITING_FOR_WEBVIEW_REASON_UNKNOWN"/>
+ <int value="10" label="FAILED_TO_FIND_NAMESPACE"/>
+</enum>
+
<enum name="NatTypeCounters" type="int">
<int value="0" label="Not behind a NAT."/>
<int value="1" label="Behind a NAT of unknown type."/>
« no previous file with comments | « content/renderer/renderer_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698