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:
Wei Wang 2024-07-18 20:16:00 +05:30 committed by Anand S
parent 8ac355cf49
commit de42f91c95
No known key found for this signature in database
GPG key ID: 3B2983FA448B3D61
2 changed files with 2 additions and 0 deletions

View file

@ -198,6 +198,7 @@ binder_status_t Power::dump(int fd, const char **, uint32_t) {
if (!::android::base::WriteStringToFd(buf, fd)) {
PLOG(ERROR) << "Failed to dump state to fd";
}
// TODO(jimmyshiu@): dump weak_ptr of PowerHintSession
fsync(fd);
return STATUS_OK;
}

View file

@ -56,6 +56,7 @@ class Power : public ::aidl::android::hardware::power::BnPower {
std::unique_ptr<InteractionHandler> mInteractionHandler;
std::atomic<bool> mSustainedPerfModeOn;
const int64_t mAdpfRate;
// TODO(jimmyshiu@): hold weak_ptr of PowerHintSession
};
} // namespace pixel