1 #ifndef ___BWM_TRACE_H___ 2 #define ___BWM_TRACE_H___ 40 #define GTRACE(act) BwmTrace.What & TRACE_ ## act 43 {BwmTrace.Beg(epname,tident); cerr <<x; BwmTrace.End();} 45 #define FTRACE(act, x) \ 47 TRACES(x <<" fn=" << (oh->Name())) 49 #define XTRACE(act, target, x) \ 50 if (GTRACE(act)) TRACES(x <<" fn=" <<target) 52 #define ZTRACE(act, x) if (GTRACE(act)) TRACES(x) 54 #define DEBUG(x) if (GTRACE(debug)) TRACES(x) 56 #define EPNAME(x) static const char *epname = x; 63 #define XTRACE(x, y, a1) 64 #define YTRACE(x, y, a1, a2, a3, a4, a5) 73 #define TRACE_ALL 0xffff 74 #define TRACE_calls 0x0001 75 #define TRACE_delay 0x0002 76 #define TRACE_sched 0x0004 77 #define TRACE_tokens 0x0008 78 #define TRACE_debug 0x8000 Definition: XrdOucTrace.hh:35