pixelstats: add ufs host reset count

Add path for new atom, UFS_RESET_COUNT

bug: 176740886
Change-Id: Icae0b5b104674be078854193048c3fc49f7bf527
This commit is contained in:
Ocean Chen 2021-03-08 17:34:00 +08:00
parent 75657e2f0e
commit 91262dd631

View file

@ -31,6 +31,7 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
.UFSLifetimeA = UFSHC_PATH(health_descriptor/life_time_estimation_a),
.UFSLifetimeB = UFSHC_PATH(health_descriptor/life_time_estimation_b),
.UFSLifetimeC = UFSHC_PATH(health_descriptor/life_time_estimation_c),
.UFSHostResetPath = UFSHC_PATH(err_stats/dev_reset_count),
.F2fsStatsPath = "/sys/fs/f2fs/",
};