mirror of
https://gitee.com/openharmony/commonlibrary_memory_utils
synced 2024-11-27 09:21:58 +00:00
Modify the public field of the log in the memmgr_utils
Signed-off-by: 李月关 <liyueguan@huawei.com>
This commit is contained in:
parent
3a95b929ed
commit
1f3da0227b
@ -148,7 +148,7 @@ bool PurgeableAshMem::Pin()
|
||||
}
|
||||
if (ashmemFd_ > 0) {
|
||||
TEMP_FAILURE_RETRY(ioctl(ashmemFd_, ASHMEM_PIN, &pin_));
|
||||
PM_HILOG_DEBUG(LOG_CORE, "%{public}s: fd:%{pubilc}d PURGEABLE_GET_PIN_STATE: %{public}d",
|
||||
PM_HILOG_DEBUG(LOG_CORE, "%{public}s: fd:%{public}d PURGEABLE_GET_PIN_STATE: %{public}d",
|
||||
__func__, ashmemFd_, ioctl(ashmemFd_, ASHMEM_GET_PIN_STATUS, &pin_));
|
||||
} else {
|
||||
PM_HILOG_DEBUG(LOG_CORE, "ashmemFd_ not exist!!");
|
||||
@ -164,7 +164,7 @@ bool PurgeableAshMem::Unpin()
|
||||
}
|
||||
if (ashmemFd_ > 0) {
|
||||
TEMP_FAILURE_RETRY(ioctl(ashmemFd_, ASHMEM_UNPIN, &pin_));
|
||||
PM_HILOG_DEBUG(LOG_CORE, "%{public}s: fd:%{pubilc}d PURGEABLE_GET_PIN_STATE: %{public}d",
|
||||
PM_HILOG_DEBUG(LOG_CORE, "%{public}s: fd:%{public}d PURGEABLE_GET_PIN_STATE: %{public}d",
|
||||
__func__, ashmemFd_, ioctl(ashmemFd_, ASHMEM_GET_PIN_STATUS, &pin_));
|
||||
} else {
|
||||
PM_HILOG_DEBUG(LOG_CORE, "ashmemFd_ not exist!!");
|
||||
|
Loading…
Reference in New Issue
Block a user