X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-ctl.h;h=4b254efac37d458025379116c73151070ec77458;hb=fb31eb73d8a4a6d9784ed5c335b7fa3b9684108c;hp=3404d9c74c3e8d576cb8499c1600ef2ea8e140ab;hpb=82df14e46c733a9e0906cf7a11299d83d160e1a0;p=lttng-ust.git diff --git a/include/lttng/ust-ctl.h b/include/lttng/ust-ctl.h index 3404d9c7..4b254efa 100644 --- a/include/lttng/ust-ctl.h +++ b/include/lttng/ust-ctl.h @@ -19,9 +19,12 @@ #ifndef _LTTNG_UST_CTL_H #define _LTTNG_UST_CTL_H -#include -#include #include +#include +#include +#include + +#include #ifndef LTTNG_PACKED #error "LTTNG_PACKED should be defined" @@ -242,6 +245,7 @@ int ustctl_put_subbuf(struct ustctl_consumer_stream *stream); void ustctl_flush_buffer(struct ustctl_consumer_stream *stream, int producer_active); +void ustctl_clear_buffer(struct ustctl_consumer_stream *stream); /* index */