Note: Bots are red because https://crrev.com/c/8352510 isn't landed/rolled yet.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Please either roll mini_chromium in this change, or roll it in a separate change, rebase this, and resubmit the try jobs.
TAG=agy
CONV=72bbc372-edca-45d3-9d0b-e25b79a10306
Move these up above Bug: (with a blank line between) to avoid confusing things looking for a properly formed git footer.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Please either roll mini_chromium in this change, or roll it in a separate change, rebase this, and resubmit the try jobs.
Done.
Move these up above Bug: (with a blank line between) to avoid confusing things looking for a properly formed git footer.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Define kMaxValue for Crashpad metrics enums
In Chromium, the standard convention for enum histograms is to
define kMaxValue as the highest valid value in the enum, and
record samples using the 2-argument macro
UMA_HISTOGRAM_ENUMERATION(name, sample), which automatically
deduces the exclusive upper bound.
Chromium is updating UMA_HISTOGRAM_ENUMERATION to disallow
passing kMaxValue as the third argument (crrev.com/c/8329130)
because doing so treats kMaxValue as an exclusive bound,
which drops valid samples.
Previously, Crashpad defined kMaxValue in several metrics enums
as an invalid sentinel value (the exclusive count of values)
and passed it to the 3-argument UMA_HISTOGRAM_ENUMERATION macro.
This change:
1. Rolls mini_chromium to c029983310e7 (crrev.com/c/8352510) to
support 2-argument UMA_HISTOGRAM_ENUMERATION macros in
standalone builds.
2. Updates Crashpad metrics enums (PendingReportReason,
CrashSkippedReason, CaptureResult, LifetimeMilestone, and
ExceptionProcessingState) so kMaxValue is the highest
valid value.
3. Updates UMA_HISTOGRAM_ENUMERATION call sites to use the
2-argument form.
Downstream changes:
- Enables landing Chromium CL (crrev.com/c/8329130) without
breaking Crashpad metrics. A temporary in-tree copy of these
changes is at crrev.com/c/8356797.
TAG=agy
CONV=72bbc372-edca-45d3-9d0b-e25b79a10306
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |