diff options
author | Ocean Chen <oceanchen@google.com> | 2021-03-08 23:57:16 +0800 |
---|---|---|
committer | Ocean Chen <oceanchen@google.com> | 2021-03-08 23:57:16 +0800 |
commit | 7987ed158017d60f9a18bcb05855e35b9a7b0e04 (patch) | |
tree | 28520db3ef7c87c76ddf88f135eb1a6b7fdf9d9a /pixelstats | |
parent | 81e1d4fd64bd13fbd32395ad6f7ceefb9ec68b84 (diff) | |
download | sunfish-7987ed158017d60f9a18bcb05855e35b9a7b0e04.tar.gz |
pixelstats: add ufs host reset count
Add path for new atom, UFS_RESET_COUNT
bug: 176740886
Signed-off-by: Ocean Chen <oceanchen@google.com>
Change-Id: I8bb0f0f6d3c2c0052ba47a2d1f1f86b5298ae8e5
Diffstat (limited to 'pixelstats')
-rw-r--r-- | pixelstats/service.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp index 57513437..61f0cff9 100644 --- a/pixelstats/service.cpp +++ b/pixelstats/service.cpp @@ -42,6 +42,7 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = { .UFSLifetimeA = UFSHC_PATH(health/lifetimeA), .UFSLifetimeB = UFSHC_PATH(health/lifetimeB), .UFSLifetimeC = UFSHC_PATH(health/lifetimeC), + .UFSHostResetPath = UFSHC_PATH(err_stats/err_host_reset), .F2fsStatsPath = "/sys/fs/f2fs/", .EEPROMPath = "/dev/battery_history", }; |