Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 2881453004: cryptohome: Add UMA stats for the cause of migration failures. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 75ddd67bacae57432ea7a669d05c4c9851ccf6ab..0c301efe5da8334ec432c60cc429f0a9e6ea67ac 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -9484,6 +9484,36 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Cryptohome.DircryptoMigrationFailedErrorCode"
+ enum="PlatformFileError">
+ <owner>kinaba@chromium.org</owner>
+ <summary>
+ The error code of file operation by which the user home directory migration
+ from ecryptfs to ext4-crypto has failed. This is logged once the migration
+ encounters a file I/O error.
+ </summary>
+</histogram>
+
+<histogram name="Cryptohome.DircryptoMigrationFailedOperationType"
+ enum="DircryptoMigrationFailedOperationType">
+ <owner>kinaba@chromium.org</owner>
+ <summary>
+ The type of file operation at which the user home directory migration from
+ ecryptfs to ext4-crypto has failed. This is logged once the migration
+ encounters a file I/O error.
+ </summary>
+</histogram>
+
+<histogram name="Cryptohome.DircryptoMigrationFailedPathType"
+ enum="DircryptoMigrationFailedPathType">
+ <owner>kinaba@chromium.org</owner>
+ <summary>
+ The category of the path where the user home directory migration from
+ ecryptfs to ext4-crypto has failed. This is logged once the migration
+ encounters a file I/O error.
+ </summary>
+</histogram>
+
<histogram name="Cryptohome.DircryptoMigrationStartStatus"
enum="DircryptoMigrationStartStatus">
<owner>dspaid@chromium.org</owner>
@@ -89271,10 +89301,43 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</enum>
<enum name="DircryptoMigrationEndStatus" type="int">
- <int value="1" label="New migration failed"/>
+ <int value="1" label="New migration failed (generic failure)"/>
<int value="2" label="New migration succeeded"/>
- <int value="3" label="Resumed migration failed"/>
+ <int value="3" label="Resumed migration failed (generic failure)"/>
<int value="4" label="Resumed migration succeeded"/>
+ <int value="5" label="New migration failed (low disk space)"/>
+ <int value="6" label="Resumed migration failed (low disk space)"/>
+ <int value="7" label="New migration failed (file error)"/>
+ <int value="8" label="Resumed migration failed (file error)"/>
+ <int value="9" label="New migration failed (file error EIO on open)"/>
+ <int value="10" label="Resumed migration failed (file error EIO on open)"/>
+</enum>
+
+<enum name="DircryptoMigrationFailedOperationType" type="int">
+ <int value="1" label="Other"/>
+ <int value="2" label="open(src_file)"/>
+ <int value="3" label="open(dest_file)"/>
+ <int value="4" label="symlink"/>
+ <int value="5" label="delete"/>
+ <int value="6" label="get-attribute"/>
+ <int value="7" label="mkdir"/>
+ <int value="8" label="readlink"/>
+ <int value="9" label="seek"/>
+ <int value="10" label="sendfile"/>
+ <int value="11" label="set-attribute"/>
+ <int value="12" label="stat"/>
+ <int value="13" label="sync"/>
+ <int value="14" label="truncate"/>
+ <int value="15" label="non fatal open(src_file)"/>
+</enum>
+
+<enum name="DircryptoMigrationFailedPathType" type="int">
+ <int value="1" label="Other"/>
+ <int value="2" label="Android Other"/>
+ <int value="3" label="Android Cache"/>
+ <int value="4" label="Downloads"/>
+ <int value="5" label="Cache"/>
+ <int value="6" label="GCache (Google Drive Cache)"/>
</enum>
<enum name="DircryptoMigrationStartStatus" type="int">
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698