Fix: lttng: add-trigger: invalid access past end of exclusions buffer
[lttng-tools.git] / src / bin / lttng / utils.h
index a51c8579a8e42d7de4549f44d0792ae0a5971f25..97fb202ba3f15b3924a1d1dd483331c8ce2b3b94 100644 (file)
@@ -9,7 +9,8 @@
 #define _LTTNG_UTILS_H
 
 #include <popt.h>
-#include "common/argpar/argpar.h"
+#include <common/argpar/argpar.h>
+#include <common/dynamic-array.h>
 
 #include <lttng/lttng.h>
 
@@ -60,4 +61,7 @@ int print_trace_archive_location(
                const struct lttng_trace_archive_location *location,
                const char *session_name);
 
+int validate_exclusion_list(const char *event_name,
+               const struct lttng_dynamic_pointer_array *exclusions);
+
 #endif /* _LTTNG_UTILS_H */
This page took 0.023318 seconds and 4 git commands to generate.