Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 1990bc476b334c20e6e1b4683b9e2efad59d2cc6..93269e12a4aa6fb9ee70d063d366dcd5727122c6 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -7877,6 +7877,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Enterprise.AttributesTPMConsistency" |
+ enum="EnterpriseAttributesTPMConsistencyType"> |
+ <owner>tnagel@chromium.org</owner> |
+ <summary> |
+ Consistency between TPM lock state and absence/presence of install |
+ attributes at boot. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Enterprise.AutoEnrollmentExtraTime" units="milliseconds"> |
<owner>mnissler@chromium.org</owner> |
<summary> |
@@ -52791,6 +52800,36 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
<int value="3" label="Error"/> |
</enum> |
+<enum name="EnterpriseAttributesTPMConsistencyType" type="int"> |
+ <int value="0" label="no attributes, other mode, TPM unlocked"> |
+ valid: machine in pristine state |
+ </int> |
+ <int value="1" label="locked attributes, other mode, TPM unlocked"> |
+ rare: install attributes locked but TPM clear (could happen if taking TPM |
+ ownership carries over a reboot) |
+ </int> |
+ <int value="2" label="no attributes, enterprise mode, TPM unlocked"> |
+ impossible: non-existent install attributes cannot yield enterprise mode |
+ </int> |
+ <int value="3" label="locked attributes, enterprise mode, TPM unlocked"> |
+ rare: install attributes locked but TPM clear (could happen if taking TPM |
+ ownership carries over a reboot) |
+ </int> |
+ <int value="4" label="no attributes, other mode, TPM locked"> |
+ inconsistent: install attributes clear but TPM locked |
+ </int> |
+ <int value="5" label="locked attributes, other mode, TPM locked"> |
+ valid: consumer owned |
+ </int> |
+ <int value="6" label="no attributes, enterprise mode, TPM locked"> |
+ impossible: non-existent install attributes cannot yield enterprise mode |
+ </int> |
+ <int value="7" label="locked attributes, enterprise mode, TPM locked"> |
+ valid: enterprise enrolled |
+ </int> |
+ <int value="8" label="TPM unreachable">error: cryptohomed unreachable</int> |
+</enum> |
+ |
<enum name="EnterpriseCheckError" type="int"> |
<summary> |
Defined as DomainCheckErrors in |