source: rtems-tools/linkers/libc-heap.ini @ 1318c11

5
Last change on this file since 1318c11 was 7fc1edb, checked in by Chris Johns <chrisj@…>, on 12/18/14 at 04:07:59

rtems-tld: Add configuration support for libc head tracing.

These files allow you to trace malloc, calloc, realloc and free.
With a simple script you can see what is allocated and never freed.

  • Property mode set to 100755
File size: 440 bytes
Line 
1;
2; RTEMS C Library Trace Configurations
3;
4[libc-heap]
5headers = libc-heap-headers
6defines = libc-heap-defines
7signatures = libc-heap-signatures
8
9[libc-heap-all]
10trace = malloc
11trace = calloc
12trace = realloc
13trace = free
14
15[libc-heap-headers]
16header = "#include <stdlib.h>"
17
18[libc-heap-defines]
19; Currently empty
20
21[libc-heap-signatures]
22malloc = void*, size_t
23calloc = void*, size_t, size_t
24realloc = void*, void*, size_t
25free = void, void*
Note: See TracBrowser for help on using the repository browser.