Crashpad
|
Container class to hold shared UMA metrics integration points. More...
#include "util/misc/metrics.h"
Public Types | |
enum | PendingReportReason : int32_t |
Values for CrashReportPending(). These are used as metrics enumeration values, so new values should always be added at the end. More... | |
enum | CrashSkippedReason : int32_t |
Values for CrashUploadSkipped(). These are used as metrics enumeration values, so new values should always be added at the end. More... | |
enum | CaptureResult : int32_t |
The result of capturing an exception. These are used as metrics enumeration values, so new values should always be added at the end. More... | |
Static Public Member Functions | |
static void | CrashReportPending (PendingReportReason reason) |
Reports when a crash upload has entered the pending state. | |
static void | CrashReportSize (FileHandle file) |
Reports the size of a crash report file in bytes. Should be called when a new report is written to disk. | |
static void | CrashUploadAttempted (bool successful) |
Reports on a crash upload attempt, and if it succeeded. | |
static void | CrashUploadSkipped (CrashSkippedReason reason) |
Reports when a report is moved to the completed state in the database, without the report being uploadad. | |
static void | ExceptionCaptureResult (CaptureResult result) |
Reports on the outcome of capturing a report in the exception handler. Should be called on all capture completion paths. | |
static void | ExceptionCode (uint32_t exception_code) |
The exception code for an exception was retrieved. More... | |
static void | ExceptionEncountered () |
The exception handler server started capturing an exception. | |
static void | HandlerCrashed (uint32_t exception_code) |
The handler process crashed with the given exception code. More... | |
Container class to hold shared UMA metrics integration points.
Each static function in this class will call a UMA_*
from base/metrics/histogram_macros.h
. When building Crashpad standalone, (against mini_chromium), these macros do nothing. When built against Chromium's base, they allow integration with its metrics system.
|
strong |
The result of capturing an exception. These are used as metrics enumeration values, so new values should always be added at the end.
|
strong |
Values for CrashUploadSkipped(). These are used as metrics enumeration values, so new values should always be added at the end.
|
strong |
Values for CrashReportPending(). These are used as metrics enumeration values, so new values should always be added at the end.
|
static |
The exception code for an exception was retrieved.
These values are OS-specific, and correspond to MINIDUMP_EXCEPTION::ExceptionCode.
|
static |
The handler process crashed with the given exception code.
This is currently only reported on Windows.