memory fragmentation ratio in INFO output

This commit is contained in:
antirez
2010-09-02 10:34:39 +02:00
parent a047bf52a4
commit eddb388ef9
4 changed files with 50 additions and 0 deletions

View File

@ -21,6 +21,11 @@
#define redis_stat stat
#endif
/* test for proc filesystem */
#ifdef __linux__
#define HAVE_PROCFS 1
#endif
/* test for backtrace() */
#if defined(__APPLE__) || defined(__linux__)
#define HAVE_BACKTRACE 1