[ DO NOT MERGE ] gs101: dumpstate: Dump Temperature Residency at bugreport
At the bugreport, capture Temperature Residency metrics Bug: 246799997 Test: Test: "adb bugreport" includes temp residency metrics capture. Change-Id: I7dcc42e88c3e24506298b9dc46e0728a3eaba518 Signed-off-by: Ziyi Cui <ziyic@google.com>
This commit is contained in:
parent
19f686ee47
commit
b7b91cdb14
1 changed files with 1 additions and 0 deletions
|
@ -520,6 +520,7 @@ void DumpstateDevice::dumpThermalSection(int fd) {
|
|||
DumpFileToFd(fd, "TMU_TOP fall thresholds:", "/sys/module/gs101_thermal/parameters/tmu_top_reg_dump_fall_thres");
|
||||
DumpFileToFd(fd, "TMU_SUB rise thresholds:", "/sys/module/gs101_thermal/parameters/tmu_sub_reg_dump_rise_thres");
|
||||
DumpFileToFd(fd, "TMU_SUB fall thresholds:", "/sys/module/gs101_thermal/parameters/tmu_sub_reg_dump_fall_thres");
|
||||
DumpFileToFd(fd, "Temperature Residency Metrics:", "/sys/kernel/metrics/temp_residency/temp_residency_all/stats");
|
||||
}
|
||||
|
||||
// Dump items related to touch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue