Add stacktrace generation to maxbase

The stacktrace generation is now a part of the maxbase library. The code
is the same code that was previously defined in gateway.cc as a part of
MaxScale.
This commit is contained in:
Markus Mäkelä
2018-06-19 14:51:09 +03:00
parent be853a448c
commit c32e6a7c3f
4 changed files with 204 additions and 1 deletions

View File

@ -1,3 +1,3 @@
add_library(maxbase STATIC eventcount.cc stopwatch.cc)
add_library(maxbase STATIC eventcount.cc stopwatch.cc stacktrace.cc)
set_target_properties(maxbase PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
install(TARGETS maxbase DESTINATION lib)