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

Issue 2015533005: Record the return value of NativeLibraryPreloader.loadLibrary in UMA (Closed)

Created:
4 years, 7 months ago by michaelbai
Modified:
4 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Record the return value of NativeLibraryPreloader.loadLibrary in UMA BUG=614166 Committed: https://crrev.com/8369bdb2f158539fae0dc33eff0141394be164e6 Cr-Commit-Position: refs/heads/master@{#396632}

Patch Set 1 #

Patch Set 2 : add histogram.xml #

Total comments: 9

Patch Set 3 : address comments #

Total comments: 5

Patch Set 4 : address comments #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -21 lines) Patch
M base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java View 1 2 3 4 6 chunks +20 lines, -1 line 0 comments Download
M base/android/java/src/org/chromium/base/library_loader/NativeLibraryPreloader.java View 1 chunk +1 line, -1 line 0 comments Download
M base/android/library_loader/library_loader_hooks.h View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M base/android/library_loader/library_loader_hooks.cc View 1 2 3 4 4 chunks +52 lines, -14 lines 0 comments Download
M content/renderer/renderer_main.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (12 generated)
michaelbai
https://codereview.chromium.org/2015533005/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2015533005/diff/20001/tools/metrics/histograms/histograms.xml#newcode5111 tools/metrics/histograms/histograms.xml:5111: +<histogram name="ChromiumAndroidNativeLibraryPreloader.BrowserStates"> torne@ We can define the enum for ...
4 years, 7 months ago (2016-05-26 04:33:28 UTC) #3
Torne
On 2016/05/26 04:33:28, michaelbai wrote: > https://codereview.chromium.org/2015533005/diff/20001/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (right): > > https://codereview.chromium.org/2015533005/diff/20001/tools/metrics/histograms/histograms.xml#newcode5111 > ...
4 years, 7 months ago (2016-05-26 10:32:06 UTC) #4
Torne
https://codereview.chromium.org/2015533005/diff/20001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java File base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java (right): https://codereview.chromium.org/2015533005/diff/20001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java#newcode91 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java:91: private int mLibraryPreloaderStatus; Initialise this to -1 or something? ...
4 years, 7 months ago (2016-05-26 10:53:24 UTC) #5
Alexei Svitkine (slow)
https://codereview.chromium.org/2015533005/diff/20001/base/android/library_loader/library_loader_hooks.cc File base/android/library_loader/library_loader_hooks.cc (right): https://codereview.chromium.org/2015533005/diff/20001/base/android/library_loader/library_loader_hooks.cc#newcode146 base/android/library_loader/library_loader_hooks.cc:146: "ChromiumAndroidNativeLibraryPreloader.RendererStates", I suggest not adding a new histogram prefix ...
4 years, 7 months ago (2016-05-26 14:56:29 UTC) #6
michaelbai
PTAL https://codereview.chromium.org/2015533005/diff/20001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java File base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java (right): https://codereview.chromium.org/2015533005/diff/20001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java#newcode91 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java:91: private int mLibraryPreloaderStatus; On 2016/05/26 10:53:24, Torne wrote: ...
4 years, 7 months ago (2016-05-26 19:10:36 UTC) #7
Alexei Svitkine (slow)
lgtm % comments https://codereview.chromium.org/2015533005/diff/40001/base/android/library_loader/library_loader_hooks.cc File base/android/library_loader/library_loader_hooks.cc (right): https://codereview.chromium.org/2015533005/diff/40001/base/android/library_loader/library_loader_hooks.cc#newcode82 base/android/library_loader/library_loader_hooks.cc:82: static void RecordChromiumAndroidLinkerRendererHistogram() { If you ...
4 years, 7 months ago (2016-05-26 19:14:11 UTC) #8
Alexei Svitkine (slow)
lgtm % comments https://codereview.chromium.org/2015533005/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2015533005/diff/40001/tools/metrics/histograms/histograms.xml#newcode411 tools/metrics/histograms/histograms.xml:411: + The return value of NativeLibraryPreloader.loadLibrary() ...
4 years, 7 months ago (2016-05-26 19:14:11 UTC) #9
michaelbai
https://codereview.chromium.org/2015533005/diff/40001/base/android/library_loader/library_loader_hooks.cc File base/android/library_loader/library_loader_hooks.cc (right): https://codereview.chromium.org/2015533005/diff/40001/base/android/library_loader/library_loader_hooks.cc#newcode82 base/android/library_loader/library_loader_hooks.cc:82: static void RecordChromiumAndroidLinkerRendererHistogram() { On 2016/05/26 19:14:11, Alexei Svitkine ...
4 years, 7 months ago (2016-05-26 19:38:51 UTC) #10
Torne
https://codereview.chromium.org/2015533005/diff/20001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java File base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java (right): https://codereview.chromium.org/2015533005/diff/20001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java#newcode91 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java:91: private int mLibraryPreloaderStatus; On 2016/05/26 19:10:35, michaelbai wrote: > ...
4 years, 6 months ago (2016-05-27 10:21:13 UTC) #12
michaelbai
https://codereview.chromium.org/2015533005/diff/20001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java File base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java (right): https://codereview.chromium.org/2015533005/diff/20001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java#newcode91 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java:91: private int mLibraryPreloaderStatus; On 2016/05/27 10:21:13, Torne wrote: > ...
4 years, 6 months ago (2016-05-27 15:52:42 UTC) #13
Torne
On 2016/05/27 15:52:42, michaelbai wrote: > https://codereview.chromium.org/2015533005/diff/20001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java > File base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java > (right): > > https://codereview.chromium.org/2015533005/diff/20001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java#newcode91 ...
4 years, 6 months ago (2016-05-27 16:02:31 UTC) #14
michaelbai
On 2016/05/27 16:02:31, Torne wrote: > On 2016/05/27 15:52:42, michaelbai wrote: > > > https://codereview.chromium.org/2015533005/diff/20001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java ...
4 years, 6 months ago (2016-05-27 16:07:26 UTC) #15
michaelbai
Initialize to -1, PTAL
4 years, 6 months ago (2016-05-27 16:14:39 UTC) #16
Torne
LGTM, thanks!
4 years, 6 months ago (2016-05-27 16:16:25 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2015533005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2015533005/80001
4 years, 6 months ago (2016-05-27 17:39:23 UTC) #23
michaelbai
avi@ for content/renderer
4 years, 6 months ago (2016-05-27 17:39:33 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-05-27 19:12:51 UTC) #26
Avi (use Gerrit)
lgtm
4 years, 6 months ago (2016-05-28 00:51:34 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2015533005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2015533005/80001
4 years, 6 months ago (2016-05-28 03:33:43 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-05-28 03:38:02 UTC) #31
commit-bot: I haz the power
4 years, 6 months ago (2016-05-28 03:39:22 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8369bdb2f158539fae0dc33eff0141394be164e6
Cr-Commit-Position: refs/heads/master@{#396632}

Powered by Google App Engine
This is Rietveld 408576698