XRootD
XrdBwmTrace.hh File Reference
+ Include dependency graph for XrdBwmTrace.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEBUG(x)   if (GTRACE(debug)) TRACES(x)
 
#define EPNAME(x)   static const char *epname = x;
 
#define FTRACE(act, x)
 
#define GTRACE(act)   BwmTrace.What & TRACE_ ## act
 
#define TRACE_ALL   0xffff
 
#define TRACE_calls   0x0001
 
#define TRACE_debug   0x8000
 
#define TRACE_delay   0x0002
 
#define TRACE_sched   0x0004
 
#define TRACE_tokens   0x0008
 
#define TRACES(x)    {BwmTrace.Beg(epname,tident); std::cerr <<x; BwmTrace.End();}
 
#define XTRACE(act, target, x)    if (GTRACE(act)) TRACES(x <<" fn=" <<target)
 
#define ZTRACE(act, x)   if (GTRACE(act)) TRACES(x)
 

Variables

XrdOucTrace BwmTrace
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG (   x)    if (GTRACE(debug)) TRACES(x)

Definition at line 54 of file XrdBwmTrace.hh.

◆ EPNAME

#define EPNAME (   x)    static const char *epname = x;

Definition at line 56 of file XrdBwmTrace.hh.

◆ FTRACE

#define FTRACE (   act,
 
)
Value:
if (GTRACE(act)) \
TRACES(x <<" fn=" << (oh->Name()))
#define GTRACE(act)
Definition: XrdBwmTrace.hh:40

Definition at line 45 of file XrdBwmTrace.hh.

◆ GTRACE

#define GTRACE (   act)    BwmTrace.What & TRACE_ ## act

Definition at line 40 of file XrdBwmTrace.hh.

◆ TRACE_ALL

#define TRACE_ALL   0xffff

Definition at line 73 of file XrdBwmTrace.hh.

◆ TRACE_calls

#define TRACE_calls   0x0001

Definition at line 74 of file XrdBwmTrace.hh.

◆ TRACE_debug

#define TRACE_debug   0x8000

Definition at line 78 of file XrdBwmTrace.hh.

◆ TRACE_delay

#define TRACE_delay   0x0002

Definition at line 75 of file XrdBwmTrace.hh.

◆ TRACE_sched

#define TRACE_sched   0x0004

Definition at line 76 of file XrdBwmTrace.hh.

◆ TRACE_tokens

#define TRACE_tokens   0x0008

Definition at line 77 of file XrdBwmTrace.hh.

◆ TRACES

#define TRACES (   x)     {BwmTrace.Beg(epname,tident); std::cerr <<x; BwmTrace.End();}

Definition at line 42 of file XrdBwmTrace.hh.

◆ XTRACE

#define XTRACE (   act,
  target,
 
)     if (GTRACE(act)) TRACES(x <<" fn=" <<target)

Definition at line 49 of file XrdBwmTrace.hh.

◆ ZTRACE

#define ZTRACE (   act,
 
)    if (GTRACE(act)) TRACES(x)

Definition at line 52 of file XrdBwmTrace.hh.

Variable Documentation

◆ BwmTrace

XrdOucTrace BwmTrace
extern

Referenced by XrdBwm::Configure().