X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=include%2Flttng%2Fust-ctl.h;h=78e0cf727feb1a91c150c2a5b308bd8d3750c710;hb=372587317b19636c05ce40cc1da40e2047481b81;hp=40e831e585fb44facd555841256d1f0ed4063e80;hpb=da57c034d2c49ed1d4339a776859d44603fc7929;p=lttng-ust.git diff --git a/include/lttng/ust-ctl.h b/include/lttng/ust-ctl.h index 40e831e5..78e0cf72 100644 --- a/include/lttng/ust-ctl.h +++ b/include/lttng/ust-ctl.h @@ -21,6 +21,7 @@ #include #include +#include #ifndef LTTNG_UST_UUID_LEN #define LTTNG_UST_UUID_LEN 16 @@ -147,8 +148,11 @@ struct ustctl_consumer_channel; struct ustctl_consumer_stream; struct ustctl_consumer_channel_attr; +int ustctl_get_nr_stream_per_channel(void); + struct ustctl_consumer_channel * - ustctl_create_channel(struct ustctl_consumer_channel_attr *attr); + ustctl_create_channel(struct ustctl_consumer_channel_attr *attr, + const int *stream_fds, int nr_stream_fds); /* * Each stream created needs to be destroyed before calling * ustctl_destroy_channel(). @@ -238,6 +242,9 @@ int ustctl_get_stream_id(struct ustctl_consumer_stream *stream, int ustctl_get_current_timestamp(struct ustctl_consumer_stream *stream, uint64_t *ts); +/* returns whether UST has perf counters support. */ +int ustctl_has_perf_counters(void); + /* event registry management */ enum ustctl_socket_type {