summaryrefslogtreecommitdiffstats
path: root/profile/benchmark-registry.c
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@tsaousis.gr>2016-08-10 20:12:46 +0300
committerCosta Tsaousis <costa@tsaousis.gr>2016-08-10 20:12:46 +0300
commit3aefe07876179e73131a7659e758bb13a2480006 (patch)
tree8a69142207c3225b9c9d88dc8ad02604d7ed7194 /profile/benchmark-registry.c
parentcd39ffd3753f705d3edc290df0f2856df9f581f7 (diff)
infix notation parser almost done; preparing the evaluator and variables lookup
Diffstat (limited to 'profile/benchmark-registry.c')
-rwxr-xr-xprofile/benchmark-registry.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/profile/benchmark-registry.c b/profile/benchmark-registry.c
index 68475eae09..fd771a7a78 100755
--- a/profile/benchmark-registry.c
+++ b/profile/benchmark-registry.c
@@ -1,13 +1,15 @@
/*
* compile with
- * gcc -O1 -ggdb -Wall -Wextra -I ../src/ -I ../ -o benchmark-registry benchmark-registry.c ../src/dictionary.o ../src/log.o ../src/avl.o ../src/common.o ../src/appconfig.o ../src/web_buffer.o ../src/storage_number.o ../src/rrd.o -pthread -luuid -lm -DHAVE_CONFIG_H -DVARLIB_DIR="\"/tmp\""
+ * gcc -O1 -ggdb -Wall -Wextra -I ../src/ -I ../ -o benchmark-registry benchmark-registry.c ../src/dictionary.o ../src/log.o ../src/avl.o ../src/common.o ../src/appconfig.o ../src/web_buffer.o ../src/storage_number.o ../src/rrd.o ../src/health.o -pthread -luuid -lm -DHAVE_CONFIG_H -DVARLIB_DIR="\"/tmp\""
*/
char *hostname = "me";
#include "../src/registry.c"
+void netdata_cleanup_and_exit(int ret) { exit(ret); }
+
// ----------------------------------------------------------------------------
// TESTS