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] |
---|
5 | headers = libc-heap-headers |
---|
6 | defines = libc-heap-defines |
---|
7 | signatures = libc-heap-signatures |
---|
8 | |
---|
9 | [libc-heap-all] |
---|
10 | trace = malloc |
---|
11 | trace = calloc |
---|
12 | trace = realloc |
---|
13 | trace = free |
---|
14 | |
---|
15 | [libc-heap-headers] |
---|
16 | header = "#include <stdlib.h>" |
---|
17 | |
---|
18 | [libc-heap-defines] |
---|
19 | ; Currently empty |
---|
20 | |
---|
21 | [libc-heap-signatures] |
---|
22 | malloc = void*, size_t |
---|
23 | calloc = void*, size_t, size_t |
---|
24 | realloc = void*, void*, size_t |
---|
25 | free = void, void* |
---|
Note: See
TracBrowser
for help on using the repository browser.