Refactor prof log

Prof logging is conceptually seperate from core profiling, so
split it out as a module of its own.  There are a few internal
functions that had to be exposed but I think it is a fair trade-off.
This commit is contained in:
Yinan Zhang
2019-07-12 16:37:37 -07:00
parent 56c8ecffc1
commit 56126d0d2d
8 changed files with 720 additions and 677 deletions

View File

@@ -117,6 +117,7 @@ C_SRCS := $(srcroot)src/jemalloc.c \
$(srcroot)src/pages.c \
$(srcroot)src/prng.c \
$(srcroot)src/prof.c \
$(srcroot)src/prof_log.c \
$(srcroot)src/rtree.c \
$(srcroot)src/safety_check.c \
$(srcroot)src/stats.c \