X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Flibmemcached_probes.h;h=70d69f3dba7f07800063c0f8f9aaec06f10eaa30;hb=6b46b12051fa265bbd9c2a17899a280c8bd82769;hp=7db979ce761dbfb7b6e869920e8830f7b3908e3e;hpb=5ef15e8c3826baead436f0d4fe6a4889956a3124;p=awesomized%2Flibmemcached diff --git a/libmemcached/libmemcached_probes.h b/libmemcached/libmemcached_probes.h index 7db979ce..70d69f3d 100644 --- a/libmemcached/libmemcached_probes.h +++ b/libmemcached/libmemcached_probes.h @@ -1,18 +1,29 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + /* * This file contains the definition of the various probes supported by * libmemcached. Currently it only support DTRACE, but just create an * implementation of the following macros to create your own sort of * probing :) */ -#ifndef LIBMEMCACHED_PROBES_H -#define LIBMEMCACHED_PROBES_H +#ifndef __LIBMEMCACHED_PROBES_H__ +#define __LIBMEMCACHED_PROBES_H__ #ifdef HAVE_DTRACE /* * Create the DTrace probes on the system using it (to support both Solaris * and MacOS X */ -#include "dtrace_probes.h" +#include "libmemcached/dtrace_probes.h" #else /* @@ -32,6 +43,10 @@ #define LIBMEMCACHED_MEMCACHED_DECREMENT_END_ENABLED() (0) #define LIBMEMCACHED_MEMCACHED_DECREMENT_START() #define LIBMEMCACHED_MEMCACHED_DECREMENT_START_ENABLED() (0) +#define LIBMEMCACHED_MEMCACHED_DECREMENT_WITH_INITIAL_END() +#define LIBMEMCACHED_MEMCACHED_DECREMENT_WITH_INITIAL_END_ENABLED() (0) +#define LIBMEMCACHED_MEMCACHED_DECREMENT_WITH_INITIAL_START() +#define LIBMEMCACHED_MEMCACHED_DECREMENT_WITH_INITIAL_START_ENABLED() (0) #define LIBMEMCACHED_MEMCACHED_DELETE_END() #define LIBMEMCACHED_MEMCACHED_DELETE_END_ENABLED() (0) #define LIBMEMCACHED_MEMCACHED_DELETE_START() @@ -48,6 +63,10 @@ #define LIBMEMCACHED_MEMCACHED_INCREMENT_END_ENABLED() (0) #define LIBMEMCACHED_MEMCACHED_INCREMENT_START() #define LIBMEMCACHED_MEMCACHED_INCREMENT_START_ENABLED() (0) +#define LIBMEMCACHED_MEMCACHED_INCREMENT_WITH_INITIAL_END() +#define LIBMEMCACHED_MEMCACHED_INCREMENT_WITH_INITIAL_END_ENABLED() (0) +#define LIBMEMCACHED_MEMCACHED_INCREMENT_WITH_INITIAL_START() +#define LIBMEMCACHED_MEMCACHED_INCREMENT_WITH_INITIAL_START_ENABLED() (0) #define LIBMEMCACHED_MEMCACHED_MGET_END() #define LIBMEMCACHED_MEMCACHED_MGET_END_ENABLED() (0) #define LIBMEMCACHED_MEMCACHED_MGET_START() @@ -67,4 +86,4 @@ #endif -#endif /* LIBMEMCACHED_PROBES_H */ +#endif /* __LIBMEMCACHED_PROBES_H__ */