X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=4dc24a5226cb90756bc0011f42b4945840267bee;hb=11927a7859022cf38a4153767cc96fda4987070d;hp=929ce014e10b752f133c87589ff492bfb27e7efd;hpb=28f23191dcbf047429d51950a337a57d7a3f866a;p=lttng-tools.git diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index 929ce014e..4dc24a522 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -54,6 +54,7 @@ #include #include #include +#include #include #include #include @@ -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. */