24 lines
379 B
C
24 lines
379 B
C
#ifndef _TFE_DP_TRACE_H
|
|
#define _TFE_DP_TRACE_H
|
|
|
|
#ifdef __cpluscplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#include <marsio.h>
|
|
|
|
#define DP_TRACE_INFO(mr_ins, mr_buff, module, fmt, ...) do{ \
|
|
if (marsio_dp_trace_record_can_emit(mr_buff)) \
|
|
{ \
|
|
marsio_dp_trace_record_emit_fmt(mr_ins, mr_buff, module, fmt, ##__VA_ARGS__); \
|
|
} \
|
|
}while(0)
|
|
|
|
|
|
|
|
#ifdef __cpluscplus
|
|
}
|
|
#endif
|
|
|
|
#endif |