Prevent channel buffer allocation larger than memory
[lttng-tools.git] / src / common / utils.h
index 9293b1d0ac03d44bf6bc052cb95af1a8fdbf7641..9e3fa60cdc4d1f5385e464328d7ae56eade4be07 100644 (file)
@@ -30,6 +30,7 @@
 char *utils_partial_realpath(const char *path, char *resolved_path,
                size_t size);
 char *utils_expand_path(const char *path);
+char *utils_expand_path_keep_symlink(const char *path);
 int utils_create_pipe(int *dst);
 int utils_create_pipe_cloexec(int *dst);
 int utils_create_pipe_cloexec_nonblock(int *dst);
@@ -60,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 */
This page took 0.025207 seconds and 5 git commands to generate.