diff options
author | Ziyi Cui <ziyic@google.com> | 2022-11-29 00:13:44 +0000 |
---|---|---|
committer | Ziyi Cui <ziyic@google.com> | 2022-12-01 06:27:22 +0000 |
commit | b7b91cdb144b632f28e7c584cc5eadba02aff360 (patch) | |
tree | 2310addc09980df7bfb2dbfb0fb57a82504af314 | |
parent | 19f686ee479c3ce89b6cba5a18ab26fc1e7db86a (diff) |
[ 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>
-rw-r--r-- | dumpstate/DumpstateDevice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index 631513b6..c3703d4b 100644 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -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 |