Refactor prof log

`prof.c` is growing too long, so trying to modularize it.  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
committed by David Goldblatt
parent 85f0cb2d0c
commit 7618b0b8e4
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 \