mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
ios: Fix MissingIntermediateDumpKey and InvalidIntermediateDumpKeySize histogram.
The actual number of enums that will be recorded is approx ~75. Bug: crashpad: 31 Change-Id: If33671c7627d6e55e94c86308c8482711e33cef4 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3035823 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org>
This commit is contained in:
parent
78bcb55e1c
commit
7451893cd8
@ -114,17 +114,15 @@ void Metrics::HandlerCrashed(uint32_t exception_code) {
|
||||
// static
|
||||
void Metrics::MissingIntermediateDumpKey(
|
||||
const internal::IntermediateDumpKey& key) {
|
||||
UMA_HISTOGRAM_ENUMERATION("Crashpad.IntermediateDump.Reader.MissingKey",
|
||||
key,
|
||||
internal::IntermediateDumpKey::kMaxValue);
|
||||
base::UmaHistogramSparse("Crashpad.IntermediateDump.Reader.MissingKey",
|
||||
static_cast<uint16_t>(key));
|
||||
}
|
||||
|
||||
// static
|
||||
void Metrics::InvalidIntermediateDumpKeySize(
|
||||
const internal::IntermediateDumpKey& key) {
|
||||
UMA_HISTOGRAM_ENUMERATION("Crashpad.IntermediateDump.Reader.InvalidKeySize",
|
||||
key,
|
||||
internal::IntermediateDumpKey::kMaxValue);
|
||||
base::UmaHistogramSparse("Crashpad.IntermediateDump.Reader.InvalidKeySize",
|
||||
static_cast<uint16_t>(key));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user