Replaced PRDF trace macros with libhei trace macros
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I66e97491123bf62f212176fdf99a1bc97d05fbd7
diff --git a/src/register/hei_hardware_register.cpp b/src/register/hei_hardware_register.cpp
index def6016..96bee18 100755
--- a/src/register/hei_hardware_register.cpp
+++ b/src/register/hei_hardware_register.cpp
@@ -129,7 +129,7 @@
if ( ( ACCESS_NONE == iv_operationType ) &&
( ACCESS_WO == iv_operationType ) )
{
- PRDF_ERR( PRDF_FUNC "Write-only register: 0x%08x 0x%016llx",
+ HEI_ERR( PRDF_FUNC "Write-only register: 0x%08x 0x%016llx",
getChip()->GetId(), iv_scomAddress );
break;
}
@@ -165,7 +165,7 @@
if ( ( ACCESS_NONE == iv_operationType ) &&
( ACCESS_RO == iv_operationType ) )
{
- PRDF_ERR( PRDF_FUNC "Read-only register: 0x%08x 0x%016llx",
+ HEI_ERR( PRDF_FUNC "Read-only register: 0x%08x 0x%016llx",
getChip()->GetId(), iv_scomAddress );
break;
}
@@ -175,7 +175,7 @@
{
// Something bad happened and there was nothing in the cache to
// write to hardware.
- PRDF_ERR( PRDF_FUNC "No entry found in cache: 0x%08x 0x%016llx",
+ HEI_ERR( PRDF_FUNC "No entry found in cache: 0x%08x 0x%016llx",
getChip()->GetId(), iv_scomAddress );
break;
}
diff --git a/src/register/hei_operator_register.hpp b/src/register/hei_operator_register.hpp
index 9ac414f..260f931 100755
--- a/src/register/hei_operator_register.hpp
+++ b/src/register/hei_operator_register.hpp
@@ -101,7 +101,7 @@
// registers in the list returns an error, but there is another
// summary register with an active attention, which would be ignored
// if we return a bad rc.
- PRDF_INF( "[SummaryRegister::read] SCOM failure on register ID "
+ HEI_INF( "[SummaryRegister::read] SCOM failure on register ID "
"0x%04x, ignoring error", iv_child->GetId() );
rc = SUCCESS;
iv_child->clearAllBits(); // just in case
diff --git a/src/register/prdfCaptureData.C b/src/register/prdfCaptureData.C
index 84f1017..85ff09b 100755
--- a/src/register/prdfCaptureData.C
+++ b/src/register/prdfCaptureData.C
@@ -168,7 +168,7 @@
{
if ( (i_buf + i_bufSize) < (i_idx + i_idxSize) )
{
- PRDF_ERR( "[CaptureData::Copy] Buffer is full. Some data may have "
+ HEI_ERR( "[CaptureData::Copy] Buffer is full. Some data may have "
"been lost" );
return true;
}
diff --git a/src/register/prdfHomRegisterAccess.C b/src/register/prdfHomRegisterAccess.C
index c65398b..9bdab98 100755
--- a/src/register/prdfHomRegisterAccess.C
+++ b/src/register/prdfHomRegisterAccess.C
@@ -183,7 +183,7 @@
scomVal);
if( nullptr != err)
{
- PRDF_ERR("[ScomAccessor::Access()] Error in"
+ HEI_ERR("[ScomAccessor::Access()] Error in"
" hcode_update");
PRDF_COMMIT_ERRL( err, ERRL_ACTION_REPORT );
}
@@ -203,7 +203,7 @@
break;
default:
- PRDF_ERR("ScomAccessor::Access() unsuppported scom op: 0x%08X",
+ HEI_ERR("ScomAccessor::Access() unsuppported scom op: 0x%08X",
operation);
break;