Hello,
I have tried to use mtrace in Native App to check memory usage but it looks not storing mtrace output file.
I confirmed simple test C code just having main() function with mtrace()/muntrace() call, built with i386-linux-gnueabi-gcc included in Tizen SDK 2.1, runs as expected on Tizen Emulator and leaves mtrace output file. I tried same thing with Tizen Native App generated in Tizen IDE, and embed mtrace() / muntrace() call into OspMain(). It can be built without any error / warning, and also runs on Emulator without any error but it doesn't leave mtrace output file even if MALLOC_TRACE is set.
Please let me know if anyone has an experience of using mtrace on Tizen Native App.
To check memory usage, Valgrind is another option but I have met some problem that my applcation crashes with Valgrind so I'm trying mtrace in parallel.
Thank you,
Keisuke