introduce WAMR memory profiling tool (experimental) (#390)

This commit is contained in:
Xu Jun
2020-09-18 18:04:56 +08:00
committed by GitHub
parent 04a7cc322f
commit 0226dbbb3d
27 changed files with 848 additions and 205 deletions

View File

@ -39,7 +39,7 @@ if (CMAKE_SIZEOF_VOID_P EQUAL 8)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32")
endif ()
add_definitions(-Wall -Wno-pointer-sign -DMALLOC_MEMORY_FROM_SYSTEM)
add_definitions(-Wall -Wno-pointer-sign)
include_directories(
${CMAKE_CURRENT_LIST_DIR}/src
@ -48,7 +48,6 @@ include_directories(
file (GLOB_RECURSE HOST_TOOL_SRC src/*.c)
SET(SOURCES
${HOST_TOOL_SRC}
${PLATFORM_SHARED_SOURCE}
@ -57,6 +56,6 @@ SET(SOURCES
${CJSON_SOURCE}
${LIB_HOST_AGENT_SOURCE}
)
add_executable(host_tool ${SOURCES})
target_link_libraries(host_tool pthread)