Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: Enabling Logs

$
0
0

Sunny,

None of heap modules have built-in logging but there are other ways you can keep track of heap usage. You can write your own wrapper functions for the Heap alloc function and free function that implement logging. In this case, your application calls the wrapper function which performs the logging and then calls the Heap modules alloc.

Also there is another module Heaptrack that you can use to manage the heap with built in functions(not logs) to print heap stats and usage. You can read more about it here:

http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/6_34_00_12/exports/bios_6_34_00_12/docs/cdoc/index.html#ti/sysbios/heaps/HeapBuf.html

Let me know if this helps.

Moses


Viewing all articles
Browse latest Browse all 25965

Trending Articles