X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Futils.h;h=9e3fa60cdc4d1f5385e464328d7ae56eade4be07;hp=1221f0eec7336ee4165fcfb7b3360916e7f61599;hb=09b72f7aa737f46196db18bcdf3bc947a08c27a2;hpb=bd3739b081f96057a93a234e6ac1c98a9a44ca39 diff --git a/src/common/utils.h b/src/common/utils.h index 1221f0eec..9e3fa60cd 100644 --- a/src/common/utils.h +++ b/src/common/utils.h @@ -61,5 +61,7 @@ int utils_create_lock_file(const char *filepath); int utils_recursive_rmdir(const char *path); int utils_truncate_stream_file(int fd, off_t length); int utils_show_help(int section, const char *page_name, const char *help_msg); +int utils_get_memory_available(size_t *value); +int utils_get_memory_total(size_t *value); #endif /* _COMMON_UTILS_H */