diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2018-08-08 16:44:43 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2018-08-08 20:17:55 +0200 |
| commit | 602a6584ee4f7c9f881204cc413fab73f18791f0 (patch) | |
| tree | 77ff31767a676b1f544b1938065995c285c78ce2 /lib/lib_errors.c | |
| parent | fa896a1d807248b8bd3343b77f8668d80de1ec98 (diff) | |
lib: count total memory allocation per MTYPE
If malloc_usable_size() or malloc_size() are available, we can count
total usage of a particular MTYPE. (Without the functions, we don't
know how much to subtract on free.)
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions
