Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 3de48e1fb7388ea4fe0a227c7523a59bae1dcff3..8336da94101e6fe0afce7a26d700ccbfdb1a684b 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -7397,10 +7397,31 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</histogram> |
<histogram name="Crashpad.CrashReportSize" units="bytes"> |
- <owner>scottmg@chromium.org</owner> |
+ <owner>crashpad-dev@chromium.org</owner> |
<summary>The size of a crash report minidump on disk when captured.</summary> |
</histogram> |
+<histogram name="Crashpad.ExceptionCaptureResult" |
+ enum="CrashpadExceptionCaptureResult"> |
+ <owner>crashpad-dev@chromium.org</owner> |
+ <summary>The outcome of execution of the Crashpad exception handler.</summary> |
+</histogram> |
+ |
+<histogram name="Crashpad.ExceptionCode.Mac"> |
Alexei Svitkine (slow)
2016/09/20 18:58:55
Please make an enum for this too, even if you don'
scottmg
2016/09/20 21:33:09
Done. Just added a few that I could find easily th
|
+ <owner>crashpad-dev@chromium.org</owner> |
+ <summary>The exception code encountered in a crash on Mac OS X.</summary> |
+</histogram> |
+ |
+<histogram name="Crashpad.ExceptionCode.Win" enum="CrashExitCodes"> |
+ <owner>crashpad-dev@chromium.org</owner> |
+ <summary>The exception code encountered in a crash on Windows.</summary> |
+</histogram> |
+ |
+<histogram name="Crashpad.ExceptionEncountered"> |
+ <owner>crashpad-dev@chromium.org</owner> |
+ <summary>A count of the number of exceptions handled by Crashpad.</summary> |
Alexei Svitkine (slow)
2016/09/20 18:58:55
This is not logging a count - it's logging a boole
scottmg
2016/09/20 21:33:09
The idea was that this is a count we can compare a
Alexei Svitkine (slow)
2016/09/21 15:47:17
I see. Comparing the difference of the two results
|
+</histogram> |
+ |
<histogram name="CrashReport.BreakpadCrashDumpOutcome" enum="DumpOutcome"> |
<obsolete> |
Deprecated as of 04/2016 as CrashPad does not implement this. |
@@ -74568,6 +74589,17 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
<int value="2147483646" label="STATUS_DATATYPE_MISALIGNMENT"/> |
</enum> |
+<enum name="CrashpadExceptionCaptureResult" type="int"> |
+ <int value="0" label="kSuccess"/> |
+ <int value="1" label="kUnexpectedExceptionBehavior"/> |
+ <int value="2" label="kFailedDueToSuspendSelf"/> |
+ <int value="3" label="kSnapshotFailed"/> |
+ <int value="4" label="kExceptionInitializationFailed"/> |
+ <int value="5" label="kPrepareNewCrashReportFailed"/> |
+ <int value="6" label="kMinidumpWriteFailed"/> |
+ <int value="7" label="kFinishWritingCrashReportFailed"/> |
+</enum> |
+ |
<enum name="CreatePersistentHistogramResult" type="int"> |
<int value="0" label="Success: Histogram created in persistent space."/> |
<int value="1" label="Error: Invalid metadata pointer. (coding error)"/> |