scope-exit: Clarify scope_exit noexcept requirement
[lttng-tools.git] / include / lttng / lttng.h
index 929ce014e10b752f133c87589ff492bfb27e7efd..4dc24a5226cb90756bc0011f42b4945840267bee 100644 (file)
@@ -54,6 +54,7 @@
 #include <lttng/handle.h>
 #include <lttng/health.h>
 #include <lttng/kernel-probe.h>
+#include <lttng/kernel.h>
 #include <lttng/load.h>
 #include <lttng/location.h>
 #include <lttng/log-level-rule.h>
@@ -194,6 +195,14 @@ lttng_set_consumer_url(struct lttng_handle *handle, const char *control_url, con
  */
 LTTNG_EXPORT extern int lttng_data_pending(const char *session_name);
 
+/*
+ * Gets the status of the kernel tracer.
+ *
+ * Sets the value of the argument, which must not be null.
+ */
+LTTNG_EXPORT extern enum lttng_error_code
+lttng_get_kernel_tracer_status(enum lttng_kernel_tracer_status *status);
+
 /*
  * Deprecated, replaced by lttng_regenerate_metadata.
  */
This page took 0.023081 seconds and 4 git commands to generate.