diff options
author | Chris Phan <cphan@us.ibm.com> | 2012-04-23 07:46:46 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-04-23 10:52:53 -0500 |
commit | 8c92548f4895fd451bf8a3eb5d29bb64f9170c61 (patch) | |
tree | 92dd80a79390834245408c76a0ae2b754472bb36 /src/usr | |
parent | eb910e9ed06690191f339b9cd2c34f74da030fbe (diff) | |
download | talos-hostboot-8c92548f4895fd451bf8a3eb5d29bb64f9170c61.tar.gz talos-hostboot-8c92548f4895fd451bf8a3eb5d29bb64f9170c61.zip |
Fix __FUNCTION__ error in TS_TRACE
Change-Id: I3d5935a4931801fdfe4f678802bbbcdd630044e4
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/929
Tested-by: Jenkins Server
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/diag/prdf/test/prdfTest.H | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/usr/diag/prdf/test/prdfTest.H b/src/usr/diag/prdf/test/prdfTest.H index 9ae5b5a46..8d8166ff2 100644 --- a/src/usr/diag/prdf/test/prdfTest.H +++ b/src/usr/diag/prdf/test/prdfTest.H @@ -43,9 +43,9 @@ class prdfTest: public CxxTest::TestSuite void testTrace(void) { - TS_TRACE(ENTER_MRK __FUNCTION__); + TS_TRACE(ENTER_MRK "testTrace()"); - PRDF_ENTER( "%s", __FUNCTION__ ); + PRDF_ENTER( "testTrace()" ); const char * l_testStr = "running testTrace"; uint64_t l_testHex = 0xDEADBEEF; @@ -58,21 +58,21 @@ class prdfTest: public CxxTest::TestSuite PRDF_ERR( "testTrace() Please ignore this error trace 0x%08X", l_testHex ); - PRDF_EXIT( "%s", __FUNCTION__ ); - PRDF_DENTER( "testTrace()" ); PRDF_DINF( "testTrace() running testTrace" ); PRDF_DEXIT( "testTrace()" ); - TS_TRACE(EXIT_MRK __FUNCTION__); + PRDF_EXIT( "testTrace()" ); + + TS_TRACE(EXIT_MRK "testTrace()"); } void testPrdInitialize(void) { using namespace PRDF; - TS_TRACE(ENTER_MRK __FUNCTION__); + TS_TRACE(ENTER_MRK "testPrdInitialize()"); PRDF_ENTER( "testPrdInitialize()" ); errlHndl_t l_pErr = NULL; @@ -91,13 +91,13 @@ class prdfTest: public CxxTest::TestSuite } PRDF_EXIT( "testPrdInitialize()" ); - TS_TRACE(EXIT_MRK __FUNCTION__); + TS_TRACE(EXIT_MRK "testPrdInitialize()"); } void testPrdMain(void) { using namespace PRDF; - TS_TRACE(ENTER_MRK __FUNCTION__); + TS_TRACE(ENTER_MRK "testPrdMain()"); PRDF_ENTER( "testPrdMain()" ); errlHndl_t l_pErr = NULL; @@ -116,19 +116,19 @@ class prdfTest: public CxxTest::TestSuite } PRDF_EXIT( "testPrdMain()" ); - TS_TRACE(EXIT_MRK __FUNCTION__); + TS_TRACE(EXIT_MRK "testPrdMain()"); } void testPrdIplCleanup(void) { using namespace PRDF; - TS_TRACE(ENTER_MRK __FUNCTION__); + TS_TRACE(ENTER_MRK "testPrdIplCleanup()"); PRDF_ENTER( "testPrdIplCleanup()" ); PrdIplCleanup(); PRDF_EXIT( "testPrdIplCleanup()" ); - TS_TRACE(EXIT_MRK __FUNCTION__); + TS_TRACE(EXIT_MRK "testPrdIplCleanup()"); } }; |