Replace the sqlite allocator, and use our own tracking for stats. Want to use this to collect callstacks for all allocations.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4185 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-02-18 19:14:06 +00:00
parent 1f67343d75
commit 53cb80ebf7
4 changed files with 67 additions and 1 deletions

View File

@ -10,6 +10,9 @@ size_t tf_mem_get_uv_malloc_size();
void tf_mem_replace_tls_allocator();
size_t tf_mem_get_tls_malloc_size();
void tf_mem_replace_sqlite_allocator();
size_t tf_mem_get_sqlite_malloc_size();
size_t tf_mem_get_tf_malloc_size();
void* tf_malloc(size_t size);