Merge "bcl: aggregated event count" into sc-dev

This commit is contained in:
George Lee 2021-03-12 23:13:11 +00:00 committed by Android (Google) Code Review
commit d65255508c

View file

@ -361,6 +361,9 @@ void DumpstateDevice::dumpPowerSection(int fd) {
DumpFileToFd(fd, "RTX", "/dev/logbuffer_rtx"); DumpFileToFd(fd, "RTX", "/dev/logbuffer_rtx");
RunCommandToFd(fd, "gvotables", {"/vendor/bin/sh", "-c", "cat /sys/kernel/debug/gvotables/*/status"}); RunCommandToFd(fd, "gvotables", {"/vendor/bin/sh", "-c", "cat /sys/kernel/debug/gvotables/*/status"});
DumpFileToFd(fd, "BCL", "/sys/devices/virtual/pmic/mitigation/triggered_stats");
DumpFileToFd(fd, "IF PMIC", "/sys/devices/virtual/pmic/max77759-mitigation/triggered_stats");
} }
// Dump items related to thermal // Dump items related to thermal