[ DO NOT MERGE ] gs101: dumpstate: Dump Temperature Residency at bugreport am: b7b91cdb14

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20584367

Change-Id: Ibedcb51e62ac1cfec14ff2bbe28f9aa3a648a47e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ziyi Cui 2022-12-01 06:59:38 +00:00 committed by Automerger Merge Worker
commit 36ab854558

View file

@ -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_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 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, "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 // Dump items related to touch