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

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: address comments 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 7f9633f663c1c569e1f67d5c5bf150cddaa993b5..434664bc914cb474bbbda86e78b6899aa2f68be4 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -404,6 +404,23 @@ 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.
Alexei Svitkine (slow) 2016/05/26 19:14:11 Is this loaded once per browser process start or m
michaelbai 2016/05/26 19:38:51 Done.
+ </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.
+ </summary>
+</histogram>
+
<histogram name="Android.NTP.Impression" enum="NTPImpressionType">
<owner>finkm@chromium.org</owner>
<summary>
@@ -80209,6 +80226,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."/>
« base/android/library_loader/library_loader_hooks.cc ('K') | « content/renderer/renderer_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698