I'm wanting to use the Trace API for some memory profiling, but running 
into some issues getting the __EMSCRIPTEN_TRACING__ define passed to 
dlmalloc.c

I'm using the Visual Studio integration to build the project, the emcc 
--tracing argument is being passed in during the compiling and linking 
stages, and I have run `emcc --clear-cache`.
With verbose enabled I can see __EMSCRIPTEN_TRACING__  being passed to 
clang.
I have also tried defining  __EMSCRIPTEN_TRACING__ in dlmalloc.c but this 
seems to cause linking errors.

Everything else in the API is working and being logged in the trace 
collector.

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to