Clean-up: sessiond: cmd_enable_channel_internal
[lttng-tools.git] / src / bin / lttng / utils.h
index 28ebc51a8fe5c829e37dfcbb033c9fdb3f37cd04..0cf01dbcd76529e8d8f078e0c06b0261c6989316 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 EfficiOS Inc.
  *
  * SPDX-License-Identifier: GPL-2.0-only
  *
@@ -9,6 +9,8 @@
 #define _LTTNG_UTILS_H
 
 #include <popt.h>
+#include <common/argpar/argpar.h>
+#include <common/dynamic-array.h>
 
 #include <lttng/lttng.h>
 
@@ -23,6 +25,7 @@ char *get_session_name(void);
 char *get_session_name_quiet(void);
 void list_commands(struct cmd_struct *commands, FILE *ofp);
 void list_cmd_options(FILE *ofp, struct poptOption *options);
+void list_cmd_options_argpar(FILE *ofp, const struct argpar_opt_descr *options);
 
 /*
  * Return the minimum order for which x <= (1UL << order).
@@ -42,7 +45,6 @@ int get_count_order_u64(uint64_t x);
  */
 int get_count_order_ulong(unsigned long x);
 
-const char *get_domain_str(enum lttng_domain_type domain);
 const char *get_event_type_str(enum lttng_event_type event_type);
 
 int print_missing_or_multiple_domains(unsigned int domain_count,
@@ -58,4 +60,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.023367 seconds and 4 git commands to generate.