summaryrefslogtreecommitdiffstats
path: root/src/daemon/trace.h
blob: 2e7c482c0f0bd55ebb650e1586f150564755f8e2 (plain)
1
2
3
4
5
6
7
8
#ifdef ENABLE_DTRACE
#  include "probes.h"
#  define TRACE(probe) probe
#  define TRACE_ENABLED(probe) probe##_ENABLED()
#else
#  define TRACE(probe)
#  define TRACE_ENABLED(probe) (0)
#endif