connectivitylayer/isce/isicommunicationmanager_dll/inc/isicommunicationmanagertrace.h
changeset 9 8486d82aef45
parent 5 8ccc39f9d787
equal deleted inserted replaced
8:6295dc2169f3 9:8486d82aef45
    43     #if defined COMPONENT_TRACE_FLAG
    43     #if defined COMPONENT_TRACE_FLAG
    44         #define C_TRACE(a) __TRACE_PRINTF(a)
    44         #define C_TRACE(a) __TRACE_PRINTF(a)
    45     #else
    45     #else
    46         #define C_TRACE(a) 
    46         #define C_TRACE(a) 
    47     #endif // COMPONENT_TRACE_FLAG
    47     #endif // COMPONENT_TRACE_FLAG
       
    48     #if defined COMPONENT_TRACE_FLAG_EXTEND
       
    49         #define E_TRACE(a) __TRACE_PRINTF(a)
       
    50     #else
       
    51         #define E_TRACE(a) 
       
    52     #endif // COMPONENT_TRACE_FLAG_EXTEND
    48 #else
    53 #else
    49     #define C_TRACE(a)
    54     #define C_TRACE(a)
       
    55     #define E_TRACE(a)
    50 #endif // _DEBUG
    56 #endif // _DEBUG
    51 
    57 
    52 // Resets are made both in UDEB and UREL (traces only in udeb)
    58 // Resets are made both in UDEB and UREL (traces only in udeb)
    53 #define ASSERT_RESET_ALWAYS(a,b) if(!(a)) { __TRACE_PRINTF(("Assertion failed: file=" __FILE__ ", line=%d, compiled="__DATE__" "__TIME__, __LINE__)); Kern::Fault( "ISICommunicationManager:", b ); }
    59 #define ASSERT_RESET_ALWAYS(a,b) if(!(a)) { __TRACE_PRINTF(("Assertion failed: file=" __FILE__ ", line=%d, compiled="__DATE__" "__TIME__, __LINE__)); Kern::Fault( "ISICommunicationManager:", b ); }
    54 #define TRACE_ASSERT(a) if (!(a)) __TRACE_PRINTF(("Assertion failed: file=" __FILE__ ", line=%d, compiled=" __DATE__" "__TIME__, __LINE__ ))
    60 #define TRACE_ASSERT(a) if (!(a)) __TRACE_PRINTF(("Assertion failed: file=" __FILE__ ", line=%d, compiled=" __DATE__" "__TIME__, __LINE__ ))
    55 #define TRACE_ASSERT_INFO(a, b) if (!(a)) __TRACE_PRINTF(("Assertion failed: file=" __FILE__ ", line=%d, extra info 0x%08x, compiled=" __DATE__" "__TIME__, __LINE__, b ));
    61 #define TRACE_ASSERT_INFO(a, b) if (!(a)) __TRACE_PRINTF(("Assertion failed: file=" __FILE__ ", line=%d, extra info 0x%08x, compiled=" __DATE__" "__TIME__, __LINE__, b ));
       
    62 #define TRACE_ASSERT_ALWAYS { __TRACE_PRINTF(("Assertion failed: file=" __FILE__ ", line=%d, compiled="__DATE__" "__TIME__, __LINE__));  }
    56 
    63 
    57 #endif // __ISICOMMUNICATIONMANAGERTRACE_H__
    64 #endif // __ISICOMMUNICATIONMANAGERTRACE_H__
    58 
    65 
    59 //  End of File
    66 //  End of File