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

Issue 8501005: Include PPAPI plugin crashes in the plugin crash data. (Closed)

Created:
9 years, 1 month ago by petkov
Modified:
9 years, 1 month ago
CC:
chromium-reviews, Paweł Hajdan Jr., rtc, laforge
Visibility:
Public.

Description

Include PPAPI plugin crashes in the plugin crash data. This should enable us to see PPAPI plugin crashes in the plugin crashes column on the stability dashboard. Note that each plugin (PPAPI or regular) is included separately in the metrics log and aggregated at the server side. This allows us to slice and dice the data later, if necessary. Also: - Remove a couple of obsolete FRIEND_TEST declarations. - Use base file name as plugin name when the name of the PPAPI plugin to be launched is empty. This is mostly so that the OutOfProcessPPAPITests can pass but also matches the logic in PepperPluginInfo::ToWebPluginInfo(). BUG=chromium-os:22465 TEST=git try, unit tests, kill -SEGV ppapi process, check that it's counted in the plugin prefs and transmitted in the metrics log: <pluginstability filename="nfGm7uk2q0xBpC3X5CA95A==" launchcount="3" instancecount="1" crashcount="2"/> Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109627

Patch Set 1 #

Patch Set 2 : Use filename for PPAPI plugins with no name. #

Total comments: 4

Patch Set 3 : Include PPAPI plugin crash info the plugin crash elements on all platforms. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -6 lines) Patch
M chrome/browser/metrics/metrics_service.h View 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 1 2 4 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/metrics/metrics_service_unittest.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
petkov
PTAL. Reason for including each reviewer: piman: because the patch is Chrome OS / PPAPI ...
9 years, 1 month ago (2011-11-08 15:45:35 UTC) #1
jam
On 2011/11/08 15:45:35, petkov wrote: > PTAL. Reason for including each reviewer: > > piman: ...
9 years, 1 month ago (2011-11-08 18:21:57 UTC) #2
petkov
On 2011/11/08 18:21:57, John Abd-El-Malek wrote: > On 2011/11/08 15:45:35, petkov wrote: > > PTAL. ...
9 years, 1 month ago (2011-11-08 18:44:27 UTC) #3
jam
On 2011/11/08 18:44:27, petkov wrote: > On 2011/11/08 18:21:57, John Abd-El-Malek wrote: > > On ...
9 years, 1 month ago (2011-11-08 18:49:14 UTC) #4
jar (doing other things)
http://codereview.chromium.org/8501005/diff/2001/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): http://codereview.chromium.org/8501005/diff/2001/chrome/browser/metrics/metrics_service.cc#newcode1528 chrome/browser/metrics/metrics_service.cc:1528: case ChildProcessInfo::PPAPI_PLUGIN_PROCESS: Could you just use a traditional logical ...
9 years, 1 month ago (2011-11-08 22:16:31 UTC) #5
petkov
Thanks for the reviews. There might be little downside to doing what jar@ suggested and ...
9 years, 1 month ago (2011-11-09 14:21:07 UTC) #6
piman
lgtm
9 years, 1 month ago (2011-11-09 16:38:17 UTC) #7
jam
lgtm
9 years, 1 month ago (2011-11-09 17:42:27 UTC) #8
jar (doing other things)
Metrics code LGTM
9 years, 1 month ago (2011-11-09 20:07:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/petkov@chromium.org/8501005/4003
9 years, 1 month ago (2011-11-11 13:21:20 UTC) #10
commit-bot: I haz the power
Change committed as 109627
9 years, 1 month ago (2011-11-11 14:30:45 UTC) #11
laforge
On 2011/11/11 14:30:45, I haz the power (commit-bot) wrote: > Change committed as 109627 Could ...
9 years, 1 month ago (2011-11-16 18:55:50 UTC) #12
petkov
9 years, 1 month ago (2011-11-16 19:23:56 UTC) #13
On 2011/11/16 18:55:50, laforge wrote:
> On 2011/11/11 14:30:45, I haz the power (commit-bot) wrote:
> > Change committed as 109627
> 
> Could you add a histogram so that we have a means of counting the ppapi counts
> separately (see contribution numbers)?

Done already -- ChildProcess.Crashed. Note that the existing
ChildProcess.Crashes is wrong because the bucket intervals are exponential
rather than linear -- see http://codereview.chromium.org/8356042/

Powered by Google App Engine
This is Rietveld 408576698