From 91262dd631fbe169cd19a77ee9dfe34b7413cf3f Mon Sep 17 00:00:00 2001 From: Ocean Chen Date: Mon, 8 Mar 2021 17:34:00 +0800 Subject: [PATCH] pixelstats: add ufs host reset count Add path for new atom, UFS_RESET_COUNT bug: 176740886 Change-Id: Icae0b5b104674be078854193048c3fc49f7bf527 --- pixelstats/service.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp index 4df1d842..33d885f4 100644 --- a/pixelstats/service.cpp +++ b/pixelstats/service.cpp @@ -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/", };