xrootd
Loading...
Searching...
No Matches
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); std::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

◆ DEBUG

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

◆ EPNAME

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

◆ FTRACE

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

◆ GTRACE

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

◆ TRACE_ALL

#define TRACE_ALL   0xffff

◆ TRACE_calls

#define TRACE_calls   0x0001

◆ TRACE_debug

#define TRACE_debug   0x8000

◆ TRACE_delay

#define TRACE_delay   0x0002

◆ TRACE_sched

#define TRACE_sched   0x0004

◆ TRACE_tokens

#define TRACE_tokens   0x0008

◆ TRACES

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

◆ XTRACE

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

◆ ZTRACE

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

Variable Documentation

◆ BwmTrace

XrdOucTrace BwmTrace
extern