ebpf的主从同步实现,QPS测试与内存池QPS测试。
This commit is contained in:
8
Makefile
8
Makefile
@@ -12,7 +12,8 @@ SRCS = $(NET_SRCS) $(KV_SRCS) $(MEM_SRCS) $(COMMON_SRCS) $(DUMP_SRCS)
|
||||
|
||||
INC = -I./NtyCo/core/ -I/usr/include/libxml2 -I./
|
||||
LIBDIRS = -L./NtyCo/
|
||||
LIBS = -lntyco -lpthread -luring -ldl -lxml2 -ljemalloc
|
||||
# LIBS = -lntyco -lpthread -luring -ldl -lxml2 -ljemalloc
|
||||
LIBS = -lntyco -lpthread -luring -ldl -lxml2
|
||||
|
||||
TARGET = kvstore
|
||||
SUBDIR = ./NtyCo/
|
||||
@@ -42,8 +43,11 @@ $(TEST_REDIS): $(TEST_REDIS_SRCS)
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) $(INC) -c $^ -g -o $@
|
||||
|
||||
clean: clmem
|
||||
clean: clmem cldata
|
||||
rm -rf $(OBJS) $(TARGET) $(TEST_REDIS)
|
||||
|
||||
clmem:
|
||||
rm -rf mem_leak/*
|
||||
|
||||
cldata:
|
||||
rm -rf data/*
|
||||
|
||||
Reference in New Issue
Block a user