sm6375-common: power-libperfmgr: ADPF: dump ADPF session info
Dump current ADPF profile and ADPF session list into bugreport. Bug: 204444691 Test: adb root && adb shell dumpsys android.hardware.power.IPower/default Test: gpaste/6469309887938560 Change-Id: I17c0d615051f5e51c2e1fe99d17c402f9a65679a
This commit is contained in:
parent
f032fe2747
commit
0118a38571
5 changed files with 33 additions and 1 deletions
|
|
@ -188,6 +188,7 @@ binder_status_t Power::dump(int fd, const char **, uint32_t) {
|
|||
boolToString(mSustainedPerfModeOn)));
|
||||
// Dump nodes through libperfmgr
|
||||
HintManager::GetInstance()->DumpToFd(fd);
|
||||
PowerSessionManager::getInstance()->dumpToFd(fd);
|
||||
if (!::android::base::WriteStringToFd(buf, fd)) {
|
||||
PLOG(ERROR) << "Failed to dump state to fd";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue