Logo ROOT   6.08/07
Reference Guide
Macros | Variables
XrdProofdTrace.h File Reference
#include "Riosfwd.h"
#include "DllImport.h"
#include "XrdOuc/XrdOucTrace.hh"
Include dependency graph for XrdProofdTrace.h:
This graph shows which files directly or indirectly include this file:

Macros

#define TRACE(act, x)
 
#define TRACE_ALL   0xff7f
 
#define TRACE_AUX   0x0200
 
#define TRACE_CMGR   0x0400
 
#define TRACE_DBG   0x0004
 
#define TRACE_DOMAINS   0xFF00
 
#define TRACE_FORK   0x0010
 
#define TRACE_GMGR   0x4000
 
#define TRACE_HDBG   0x0040
 
#define TRACE_LOGIN   0x0008
 
#define TRACE_MEM   0x0020
 
#define TRACE_NMGR   0x1000
 
#define TRACE_PMGR   0x2000
 
#define TRACE_REQ   0x0002
 
#define TRACE_RSP   0x0100
 
#define TRACE_SCHED   0x8000
 
#define TRACE_SMGR   0x0800
 
#define TRACE_XERR   0x0001
 
#define TRACEI(id, act, x)
 
#define TRACEP(p, act, x)
 
#define TRACESET(act, on)
 
#define TRACET(tid, act, x)
 
#define TRACING(x)   (TRACINGALL(x) || TRACINGERR(x) || (TRACINGACT(x) && TRACINGDOM))
 
#define TRACINGACT(x)   (XrdProofdTrace && (XrdProofdTrace->What & TRACE_ ## x))
 
#define TRACINGALL(x)   (TRACE_ALL == TRACE_ ## x)
 
#define TRACINGDOM   (XrdProofdTrace && (XrdProofdTrace->What & xpdtracingdomain))
 
#define TRACINGERR(x)   (TRACE_XERR == TRACE_ ## x)
 
#define XPDDOM(d)   unsigned int xpdtracingdomain = (unsigned int)(TRACE_ ## d & TRACE_ALL);
 
#define XPDERR(x)   {XrdProofdTrace->Beg("-E"); std::cerr << xpdloc <<": "<< x; XrdProofdTrace->End();}
 
#define XPDLOC(d, x)
 
#define XPDPRT(x)   {XrdProofdTrace->Beg("-I"); std::cerr << xpdloc <<": "<< x; XrdProofdTrace->End();}
 

Variables

R__EXTERN XrdOucTrace * XrdProofdTrace
 

Macro Definition Documentation

◆ TRACE

#define TRACE (   act,
  x 
)
Value:
if (TRACING(act)) { \
if (TRACINGERR(act)) { \
XPDERR(x); \
} else { \
XPDPRT(x); \
} \
}
#define TRACING(x)
Double_t x[n]
Definition: legend1.C:17
#define TRACINGERR(x)

Definition at line 98 of file XrdProofdTrace.h.

◆ TRACE_ALL

#define TRACE_ALL   0xff7f

Definition at line 29 of file XrdProofdTrace.h.

◆ TRACE_AUX

#define TRACE_AUX   0x0200

Definition at line 44 of file XrdProofdTrace.h.

◆ TRACE_CMGR

#define TRACE_CMGR   0x0400

Definition at line 45 of file XrdProofdTrace.h.

◆ TRACE_DBG

#define TRACE_DBG   0x0004

Definition at line 34 of file XrdProofdTrace.h.

◆ TRACE_DOMAINS

#define TRACE_DOMAINS   0xFF00

Definition at line 42 of file XrdProofdTrace.h.

◆ TRACE_FORK

#define TRACE_FORK   0x0010

Definition at line 36 of file XrdProofdTrace.h.

◆ TRACE_GMGR

#define TRACE_GMGR   0x4000

Definition at line 49 of file XrdProofdTrace.h.

◆ TRACE_HDBG

#define TRACE_HDBG   0x0040

Definition at line 38 of file XrdProofdTrace.h.

◆ TRACE_LOGIN

#define TRACE_LOGIN   0x0008

Definition at line 35 of file XrdProofdTrace.h.

◆ TRACE_MEM

#define TRACE_MEM   0x0020

Definition at line 37 of file XrdProofdTrace.h.

◆ TRACE_NMGR

#define TRACE_NMGR   0x1000

Definition at line 47 of file XrdProofdTrace.h.

◆ TRACE_PMGR

#define TRACE_PMGR   0x2000

Definition at line 48 of file XrdProofdTrace.h.

◆ TRACE_REQ

#define TRACE_REQ   0x0002

Definition at line 33 of file XrdProofdTrace.h.

◆ TRACE_RSP

#define TRACE_RSP   0x0100

Definition at line 43 of file XrdProofdTrace.h.

◆ TRACE_SCHED

#define TRACE_SCHED   0x8000

Definition at line 50 of file XrdProofdTrace.h.

◆ TRACE_SMGR

#define TRACE_SMGR   0x0800

Definition at line 46 of file XrdProofdTrace.h.

◆ TRACE_XERR

#define TRACE_XERR   0x0001

Definition at line 32 of file XrdProofdTrace.h.

◆ TRACEI

#define TRACEI (   id,
  act,
  x 
)
Value:
if (TRACING(act)) { \
if (TRACINGERR(act)) { \
if (id) {\
XrdProofdTrace->Beg("-E", 0, id); std::cerr << xpdloc <<": "<< x; XrdProofdTrace->End(); \
} else { XPDERR(x); }\
} else { \
if (id) {\
XrdProofdTrace->Beg("-I", 0, id); std::cerr << xpdloc <<": "<< x; XrdProofdTrace->End(); \
} else { XPDPRT(x); }\
} \
}
#define TRACING(x)
R__EXTERN XrdOucTrace * XrdProofdTrace
#define XPDPRT(x)
Double_t x[n]
Definition: legend1.C:17
#define XPDERR(x)
#define TRACINGERR(x)

Definition at line 120 of file XrdProofdTrace.h.

◆ TRACEP

#define TRACEP (   p,
  act,
  x 
)
Value:
if (TRACING(act)) { \
const char *typ = (TRACINGERR(act)) ? "-E" : "-I"; \
if (p) {\
XrdProofdTrace->Beg(typ, 0, p->TraceID()); std::cerr << xpdloc <<": "<< x; XrdProofdTrace->End(); \
} else {XPDERR(x);}\
}
#define TRACING(x)
R__EXTERN XrdOucTrace * XrdProofdTrace
Double_t x[n]
Definition: legend1.C:17
#define XPDERR(x)
#define TRACINGERR(x)

Definition at line 113 of file XrdProofdTrace.h.

◆ TRACESET

#define TRACESET (   act,
  on 
)
Value:
if (on) { \
XrdProofdTrace->What |= TRACE_ ## act; \
} else { \
XrdProofdTrace->What &= ~(TRACE_ ## act & TRACE_ALL); \
}
#define TRACE_ALL

Definition at line 85 of file XrdProofdTrace.h.

◆ TRACET

#define TRACET (   tid,
  act,
  x 
)
Value:
if (TRACING(act)) { \
const char *typ = (TRACINGERR(act)) ? "-E" : "-I"; \
XrdProofdTrace->Beg(typ, 0, tid); std::cerr << xpdloc <<": "<< x; XrdProofdTrace->End(); \
}
#define TRACING(x)
R__EXTERN XrdOucTrace * XrdProofdTrace
Double_t x[n]
Definition: legend1.C:17
#define TRACINGERR(x)

Definition at line 107 of file XrdProofdTrace.h.

◆ TRACING

#define TRACING (   x)    (TRACINGALL(x) || TRACINGERR(x) || (TRACINGACT(x) && TRACINGDOM))

Definition at line 83 of file XrdProofdTrace.h.

◆ TRACINGACT

#define TRACINGACT (   x)    (XrdProofdTrace && (XrdProofdTrace->What & TRACE_ ## x))

Definition at line 81 of file XrdProofdTrace.h.

◆ TRACINGALL

#define TRACINGALL (   x)    (TRACE_ALL == TRACE_ ## x)

Definition at line 79 of file XrdProofdTrace.h.

◆ TRACINGDOM

#define TRACINGDOM   (XrdProofdTrace && (XrdProofdTrace->What & xpdtracingdomain))

Definition at line 82 of file XrdProofdTrace.h.

◆ TRACINGERR

#define TRACINGERR (   x)    (TRACE_XERR == TRACE_ ## x)

Definition at line 80 of file XrdProofdTrace.h.

◆ XPDDOM

#define XPDDOM (   d)    unsigned int xpdtracingdomain = (unsigned int)(TRACE_ ## d & TRACE_ALL);

Definition at line 75 of file XrdProofdTrace.h.

◆ XPDERR

#define XPDERR (   x)    {XrdProofdTrace->Beg("-E"); std::cerr << xpdloc <<": "<< x; XrdProofdTrace->End();}

Definition at line 95 of file XrdProofdTrace.h.

◆ XPDLOC

#define XPDLOC (   d,
  x 
)
Value:
unsigned int xpdtracingdomain = (unsigned int)(TRACE_ ## d & TRACE_ALL); \
const char *xpdloc = x;
Double_t x[n]
Definition: legend1.C:17
#define TRACE_ALL

Definition at line 76 of file XrdProofdTrace.h.

◆ XPDPRT

#define XPDPRT (   x)    {XrdProofdTrace->Beg("-I"); std::cerr << xpdloc <<": "<< x; XrdProofdTrace->End();}

Definition at line 92 of file XrdProofdTrace.h.

Variable Documentation

◆ XrdProofdTrace

R__EXTERN XrdOucTrace* XrdProofdTrace

Definition at line 62 of file XrdProofdTrace.h.