Closed
Bug 1379813
Opened 7 years ago
Closed 7 years ago
Annotate crash reports with the GPU process generation number
Categories
(Core :: Graphics: Layers, enhancement)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: dvander, Assigned: domfarolino)
Details
Attachments
(1 file, 2 obsolete files)
1.58 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
We currently annotate crash reports with whether or not the GPU process is currently running [1]. Milan suggested we add a new annotation with the number of times the GPU process has been launched (available in mNumProcessAttempts). "GPUProcessLaunchCount" might be a reasonable key name.
This will help us see if crashes are more likely after a relaunch than an initial launch.
[1] http://searchfox.org/mozilla-central/source/gfx/ipc/GPUProcessManager.cpp#366
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8885947 -
Flags: review?(dvander)
Reporter | ||
Comment 2•7 years ago
|
||
Comment on attachment 8885947 [details] [diff] [review]
bug1379813.patch
Review of attachment 8885947 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/ipc/GPUProcessManager.cpp
@@ +365,5 @@
> CrashReporter::AnnotateCrashReport(
> NS_LITERAL_CSTRING("GPUProcessStatus"),
> NS_LITERAL_CSTRING("Running"));
> +
> +CrashReporter::AnnotateCrashReport(
nit: two-space indent, use "%d" (more idiomatic in gecko)
@@ +661,5 @@
> CrashReporter::AnnotateCrashReport(
> NS_LITERAL_CSTRING("GPUProcessStatus"),
> NS_LITERAL_CSTRING("Destroyed"));
> +
> +CrashReporter::AnnotateCrashReport(
Just the first annotation is enough. The count only changes on launch.
Attachment #8885947 -
Flags: review?(dvander)
Assignee | ||
Comment 3•7 years ago
|
||
Attachment #8885947 -
Attachment is obsolete: true
Attachment #8886279 -
Flags: review?(dvander)
Reporter | ||
Comment 4•7 years ago
|
||
Comment on attachment 8886279 [details] [diff] [review]
bug1379813.patch
Review of attachment 8886279 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/ipc/GPUProcessManager.cpp
@@ +367,5 @@
> CrashReporter::AnnotateCrashReport(
> NS_LITERAL_CSTRING("GPUProcessStatus"),
> NS_LITERAL_CSTRING("Running"));
> +
> +CrashReporter::AnnotateCrashReport(
Indentation is still off here.
Attachment #8886279 -
Flags: review?(dvander)
Assignee | ||
Comment 5•7 years ago
|
||
Whoops, forgot to address your other two nits!
Attachment #8886279 -
Attachment is obsolete: true
Attachment #8886344 -
Flags: review?(dvander)
Reporter | ||
Updated•7 years ago
|
Attachment #8886344 -
Flags: review?(dvander) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/35beba17c550
Annotate crash reports with the number of times the GPU process has been launched. r=dvander
Keywords: checkin-needed
Comment 7•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•