sm6375-common: power-libperfmgr: reduce log spam and refine trace title
Add bunch of TODO for team as well. Test: build Bug: 177492680 Bug: 185368789 Signed-off-by: Wei Wang <wvw@google.com> Change-Id: Ic1d5ecea10a60b23343866cd62519fda37bd6ec5
This commit is contained in:
parent
89c05aa49a
commit
4ce47872f0
2 changed files with 2 additions and 0 deletions
|
@ -198,6 +198,7 @@ binder_status_t Power::dump(int fd, const char **, uint32_t) {
|
||||||
if (!::android::base::WriteStringToFd(buf, fd)) {
|
if (!::android::base::WriteStringToFd(buf, fd)) {
|
||||||
PLOG(ERROR) << "Failed to dump state to fd";
|
PLOG(ERROR) << "Failed to dump state to fd";
|
||||||
}
|
}
|
||||||
|
// TODO(jimmyshiu@): dump weak_ptr of PowerHintSession
|
||||||
fsync(fd);
|
fsync(fd);
|
||||||
return STATUS_OK;
|
return STATUS_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,6 +56,7 @@ class Power : public ::aidl::android::hardware::power::BnPower {
|
||||||
std::unique_ptr<InteractionHandler> mInteractionHandler;
|
std::unique_ptr<InteractionHandler> mInteractionHandler;
|
||||||
std::atomic<bool> mSustainedPerfModeOn;
|
std::atomic<bool> mSustainedPerfModeOn;
|
||||||
const int64_t mAdpfRate;
|
const int64_t mAdpfRate;
|
||||||
|
// TODO(jimmyshiu@): hold weak_ptr of PowerHintSession
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace pixel
|
} // namespace pixel
|
||||||
|
|
Loading…
Reference in a new issue