Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index becf04e8626b9ab2d5a2c0e5fe563a5a9e575a93..9ecb1077c5c1778489ba384ae3cdd88c6e395fd1 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -9309,6 +9309,31 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Cryptohome.DircryptoMigratedDataInMb" units="MB"> |
+ <owner>dspaid@chromium.org</owner> |
+ <summary> |
+ The amount of data (MB) which was migrated from ecryptfs to ext4-crypto |
+ based home directories. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Cryptohome.DircryptoMigrationFilesSkipped" units="files"> |
+ <owner>dspaid@chromium.org</owner> |
+ <summary> |
+ The number of files in the user's home directory which could not be migrated |
+ from ecryptfs to ext4-crypto. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="Cryptohome.DircryptoMigrationUmaStatus" |
+ enum="DircryptoMigrationUmaStatus"> |
+ <owner>dspaid@chromium.org</owner> |
+ <summary> |
+ The status of the user home directory migration from ecryptfs to |
+ ext4-crypto. |
jwd
2017/03/29 18:10:33
Can you mention when this is logged.
dspaid
2017/03/29 23:08:21
Done.
|
+ </summary> |
+</histogram> |
+ |
<histogram name="Cryptohome.Errors" enum="CryptohomeError"> |
<owner>dkrahn@chromium.org</owner> |
<summary>Cryptohome errors.</summary> |
@@ -9331,6 +9356,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Cryptohome.TimeToCompleteDircryptoMigration" units="ms"> |
+ <owner>dspaid@chromium.org</owner> |
+ <summary> |
+ The amount of time (ms) for the user's home directory to be migrated from |
+ ecryptfs to ext4-crypto. If the migration is interrupted and subsequently |
+ resumed (such as due to power loss) only the time required for the last |
+ migration attempt is recorded. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Cryptohome.TimeToInitPkcs11" units="ms"> |
<owner>dkrahn@chromium.org</owner> |
<summary> |
@@ -87769,6 +87804,13 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
<int value="3" label="Primary accounts present but different"/> |
</enum> |
+<enum name="DircryptoMigrationUmaStatus" type="int"> |
+ <int value="1" label="Migration Started"/> |
+ <int value="2" label="Migration Resumed"/> |
+ <int value="3" label="Migration Failed"/> |
+ <int value="4" label="Migration Finished"/> |
+</enum> |
+ |
<enum name="DirectoryDatabaseRepairResult" type="int"> |
<int value="0" label="Succeeded"/> |
<int value="1" label="Failed"/> |