cmogstored.git  about / heads / tags
alternative mogstored implementation for MogileFS
blob 712ee0d7dbe3a8318027b25ca745178ba7555ea0 384 bytes (raw)
$ git show HEAD:trace.h	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
/*
 * Copyright (C) 2012-2020 all contributors <cmogstored-public@yhbt.net>
 * License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
 */
#ifdef HAVE_SYSTEMTAP
#  include "probes.h"
#  define TRACE(probe) probe
#  define TRACE_ENABLED(probe) probe ## _ENABLED()
#else  /*  HAVE_SYSTEMTAP */
#  define TRACE(probe)
#  define TRACE_ENABLED(probe) (0)
#endif /* !HAVE_SYSTEMTAP */

git clone https://yhbt.net/cmogstored.git