xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Variables
XrdBwmTrace.hh File Reference
#include "XrdSys/XrdSysHeaders.hh"
#include "XrdOuc/XrdOucTrace.hh"
Include dependency graph for XrdBwmTrace.hh:

Go to the source code of this file.

Macros

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

Variables

XrdOucTrace BwmTrace
 

Macro Definition Documentation

#define DEBUG (   x)    if (GTRACE(debug)) TRACES(x)
#define EPNAME (   x)    static const char *epname = x;
#define FTRACE (   act,
 
)
Value:
if (GTRACE(act)) \
TRACES(x <<" fn=" << (oh->Name()))
#define GTRACE(act)
Definition: XrdBwmTrace.hh:40
#define TRACES(x)
Definition: XrdBwmTrace.hh:42
#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); cerr <<x; BwmTrace.End();}
#define XTRACE (   act,
  target,
 
)    if (GTRACE(act)) TRACES(x <<" fn=" <<target)
#define ZTRACE (   act,
 
)    if (GTRACE(act)) TRACES(x)

Variable Documentation

XrdOucTrace BwmTrace