THP detection / reporting functions added.

This commit is contained in:
antirez
2014-11-12 10:43:32 +01:00
parent bb7fea0d5c
commit 3ef0876b95
3 changed files with 45 additions and 6 deletions

View File

@ -76,6 +76,7 @@ void zmalloc_set_oom_handler(void (*oom_handler)(size_t));
float zmalloc_get_fragmentation_ratio(size_t rss);
size_t zmalloc_get_rss(void);
size_t zmalloc_get_private_dirty(void);
size_t zmalloc_get_smap_bytes_by_field(char *field);
void zlibc_free(void *ptr);
#ifndef HAVE_MALLOC_SIZE