bcl: Enable Instruction print in bugreport am: a545f963b3 am: 425ff9eb06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15463754 Change-Id: Id64201550a02edd8f57490c83c284d58560ec6a5
This commit is contained in:
commit
039cc96c97
1 changed files with 5 additions and 0 deletions
|
@ -458,6 +458,11 @@ void DumpstateDevice::dumpPowerSection(int fd) {
|
|||
"do lvl=`cat $f`; "
|
||||
"a=${f/\\/sys\\/devices\\/virtual\\/pmic\\/mitigation\\/triggered_lvl\\//}; "
|
||||
"echo \"${a/_lvl/} \\t$lvl\" ; done"});
|
||||
RunCommandToFd(fd, "Instruction", {"/vendor/bin/sh", "-c",
|
||||
"for f in `ls /sys/devices/virtual/pmic/mitigation/instruction/*` ; "
|
||||
"do val=`cat $f` ; "
|
||||
"a=${f/\\/sys\\/devices\\/virtual\\/pmic\\/mitigation\\/instruction\\//}; "
|
||||
"echo \"$a=$val\" ; done"});
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue