xrootd
Loading...
Searching...
No Matches
Macros
XrdOfsTrace.hh File Reference
#include "XrdSys/XrdSysHeaders.hh"
#include "XrdSys/XrdSysTrace.hh"
#include "XrdOfs/XrdOfs.hh"
Include dependency graph for XrdOfsTrace.hh:

Go to the source code of this file.

Macros

#define GTRACE(act)   OfsTrace.What & TRACE_ ## act
 
#define TRACES(x)   {SYSTRACE(OfsTrace.,tident,epname,0,x)}
 
#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_MOST   0x3fcd
 
#define TRACE_ALL   0xffff
 
#define TRACE_opendir   0x0001
 
#define TRACE_readdir   0x0002
 
#define TRACE_closedir   TRACE_opendir
 
#define TRACE_delay   0x0400
 
#define TRACE_dir   TRACE_opendir | TRACE_readdir | TRACE_closedir
 
#define TRACE_open   0x0004
 
#define TRACE_qscan   0x0008
 
#define TRACE_close   TRACE_open
 
#define TRACE_read   0x0010
 
#define TRACE_redirect   0x0800
 
#define TRACE_write   0x0020
 
#define TRACE_IO   TRACE_read | TRACE_write | TRACE_aio
 
#define TRACE_exists   0x0040
 
#define TRACE_chmod   TRACE_exists
 
#define TRACE_getmode   TRACE_exists
 
#define TRACE_getsize   TRACE_exists
 
#define TRACE_remove   0x0080
 
#define TRACE_rename   TRACE_remove
 
#define TRACE_sync   0x0100
 
#define TRACE_truncate   0x0200
 
#define TRACE_fsctl   0x0400
 
#define TRACE_getstats   0x0800
 
#define TRACE_mkdir   0x1000
 
#define TRACE_stat   0x2000
 
#define TRACE_aio   0x4000
 
#define TRACE_debug   0x008000
 
#define TRACE_chkpnt   0x010000
 

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 XrdOfsTrace.hh:39

◆ GTRACE

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

◆ TRACE_aio

#define TRACE_aio   0x4000

◆ TRACE_ALL

#define TRACE_ALL   0xffff

◆ TRACE_chkpnt

#define TRACE_chkpnt   0x010000

◆ TRACE_chmod

#define TRACE_chmod   TRACE_exists

◆ TRACE_close

#define TRACE_close   TRACE_open

◆ TRACE_closedir

#define TRACE_closedir   TRACE_opendir

◆ TRACE_debug

#define TRACE_debug   0x008000

◆ TRACE_delay

#define TRACE_delay   0x0400

◆ TRACE_dir

#define TRACE_dir   TRACE_opendir | TRACE_readdir | TRACE_closedir

◆ TRACE_exists

#define TRACE_exists   0x0040

◆ TRACE_fsctl

#define TRACE_fsctl   0x0400

◆ TRACE_getmode

#define TRACE_getmode   TRACE_exists

◆ TRACE_getsize

#define TRACE_getsize   TRACE_exists

◆ TRACE_getstats

#define TRACE_getstats   0x0800

◆ TRACE_IO

#define TRACE_IO   TRACE_read | TRACE_write | TRACE_aio

◆ TRACE_mkdir

#define TRACE_mkdir   0x1000

◆ TRACE_MOST

#define TRACE_MOST   0x3fcd

◆ TRACE_open

#define TRACE_open   0x0004

◆ TRACE_opendir

#define TRACE_opendir   0x0001

◆ TRACE_qscan

#define TRACE_qscan   0x0008

◆ TRACE_read

#define TRACE_read   0x0010

◆ TRACE_readdir

#define TRACE_readdir   0x0002

◆ TRACE_redirect

#define TRACE_redirect   0x0800

◆ TRACE_remove

#define TRACE_remove   0x0080

◆ TRACE_rename

#define TRACE_rename   TRACE_remove

◆ TRACE_stat

#define TRACE_stat   0x2000

◆ TRACE_sync

#define TRACE_sync   0x0100

◆ TRACE_truncate

#define TRACE_truncate   0x0200

◆ TRACE_write

#define TRACE_write   0x0020

◆ TRACES

#define TRACES (   x)    {SYSTRACE(OfsTrace.,tident,epname,0,x)}

◆ XTRACE

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

◆ ZTRACE

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