Dump usf stats history in bugreports. am: 93e624ad3f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/19672463 Change-Id: Ibecfc8e1a9edba9d6caa14d52858fc7531f99bd4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
3d01326626
1 changed files with 3 additions and 0 deletions
|
@ -1009,6 +1009,9 @@ void DumpstateDevice::dumpSensorsUSFSection(int fd) {
|
||||||
RunCommandToFd(fd, "USF Registry",
|
RunCommandToFd(fd, "USF Registry",
|
||||||
{"/vendor/bin/sh", "-c", "usf_reg_edit save -"},
|
{"/vendor/bin/sh", "-c", "usf_reg_edit save -"},
|
||||||
options);
|
options);
|
||||||
|
RunCommandToFd(fd, "USF Last Stat Buffer",
|
||||||
|
{"/vendor/bin/sh", "-c", "cat /data/vendor/sensors/debug/stats.history"},
|
||||||
|
options);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue