Go to the documentation of this file. 1 #ifndef _XRDOSS_TRACE_H 2 #define _XRDOSS_TRACE_H 37 #define TRACE_ALL 0x0fff 38 #define TRACE_Opendir 0x0001 39 #define TRACE_Open 0x0002 40 #define TRACE_AIO 0x0004 41 #define TRACE_Debug 0x0800 47 #define QTRACE(act) OssTrace.What & TRACE_ ## act 49 #define TRACE(act, x) \ 50 if (QTRACE(act)) {SYSTRACE(OssTrace., tident, epname, 0, x);} 52 #define TRACEReturn(type, ecode, msg) \ 53 {TRACE(type, "err " <<ecode <<msg); return ecode;} 55 #define DEBUG(y) if (QTRACE(Debug)) {SYSTRACE(OssTrace., 0, epname, 0, y)} 57 #define EPNAME(x) static const char *epname = x; 64 #define TRACEReturn(type, ecode, msg) return ecode