nuttx: add CONFIG_INTERPRETERS_WAMR_PERF_PROFILING (#1178)

Based on the corresponding nuttx patch:
  https://github.com/apache/incubator-nuttx-apps/pull/1166
This commit is contained in:
YAMAMOTO Takashi 2022-05-21 15:56:56 +09:00 committed by GitHub
parent a50011a4dd
commit c47b318aef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,6 +160,12 @@ else
CFLAGS += -DWASM_ENABLE_BULK_MEMORY=0
endif
ifeq ($(CONFIG_INTERPRETERS_WAMR_PERF_PROFILING),y)
CFLAGS += -DWASM_ENABLE_PERF_PROFILING=1
else
CFLAGS += -DWASM_ENABLE_PERF_PROFILING=0
endif
ifeq ($(CONFIG_INTERPRETERS_WAMR_MEMORY_PROFILING),y)
CFLAGS += -DWASM_ENABLE_MEMORY_PROFILING=1
else