bcl: aggregated event count

Enable BCL metrics in bugreport.

Bug: 180620276
Test: Local test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iab9ef7aac7c112e4a6938e7f34745b338df6a3f8
This commit is contained in:
George Lee 2021-03-08 13:07:43 -08:00
parent 75657e2f0e
commit 834dca4c53

View file

@ -361,6 +361,9 @@ void DumpstateDevice::dumpPowerSection(int fd) {
DumpFileToFd(fd, "RTX", "/dev/logbuffer_rtx");
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