mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 19:18:35 +00:00
Dump usf stats history in bugreports.
USF saves a stat buffer to the filesystem periodically. Dump this as part of bugreports. Bug: 242320914 Test: Stats are visible in a bugreport. Change-Id: I2020f48026fcad19e41c8959e404e0a0783a2ef0
This commit is contained in:
committed by
TreeHugger Robot
parent
a3a42642f3
commit
21ffd5f188
@@ -1066,6 +1066,9 @@ void Dumpstate::dumpSensorsUSFSection(int fd) {
|
||||
RunCommandToFd(fd, "USF Registry",
|
||||
{"/vendor/bin/sh", "-c", "usf_reg_edit save -"},
|
||||
options);
|
||||
RunCommandToFd(fd, "USF Last Stat Buffer",
|
||||
{"/vendor/bin/sh", "-c", "cat /data/vendor/sensors/debug/stats.history"},
|
||||
options);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user