[DO NOT MERGE] dumpstate: Dump Temperature Residency at bugreport am: 78f9096a34

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

Change-Id: I7dec3ecc4eb587ae04ea3ec0516b991defdcdf25
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:44 +00:00 committed by Automerger Merge Worker
commit 0301fce581

View file

@ -520,6 +520,7 @@ void Dumpstate::dumpThermalSection(int fd) {
DumpFileToFd(fd, "TMU_TOP fall thresholds:", "/sys/module/gs_thermal/parameters/tmu_top_reg_dump_fall_thres");
DumpFileToFd(fd, "TMU_SUB rise thresholds:", "/sys/module/gs_thermal/parameters/tmu_sub_reg_dump_rise_thres");
DumpFileToFd(fd, "TMU_SUB fall thresholds:", "/sys/module/gs_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