X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Flttng-ust-ctl.h;h=b3de5a9ba61846f557ec39b0df4cecd1b486bca1;hp=fc5c794743646f5b38fb0b0b4eb5014732fdbd64;hb=0c82ac624169ec9ec062f395e55abfe992d0fd91;hpb=7972aab22f74b18faa168c0482216a3dd711a075 diff --git a/src/bin/lttng-sessiond/lttng-ust-ctl.h b/src/bin/lttng-sessiond/lttng-ust-ctl.h index fc5c79474..b3de5a9ba 100644 --- a/src/bin/lttng-sessiond/lttng-ust-ctl.h +++ b/src/bin/lttng-sessiond/lttng-ust-ctl.h @@ -19,9 +19,10 @@ #ifndef _LTTNG_UST_CTL_H #define _LTTNG_UST_CTL_H -#include #include +#include "lttng-ust-abi.h" + #ifndef LTTNG_UST_UUID_LEN #define LTTNG_UST_UUID_LEN 16 #endif @@ -44,7 +45,7 @@ struct lttng_ust_lib_ring_buffer; struct ustctl_consumer_channel_attr { enum lttng_ust_chan_type type; - uint64_t subbuf_size; /* bytes */ + uint64_t subbuf_size; /* bytes, power of 2 */ uint64_t num_subbuf; /* power of 2 */ int overwrite; /* 1: overwrite, 0: discard */ unsigned int switch_timer_interval; /* usec */ @@ -355,7 +356,7 @@ int ustctl_recv_register_event(int sock, * event name (output, * size LTTNG_UST_SYM_NAME_LEN) */ - int *loglevel, + int *loglevel_value, char **signature, /* * event signature * (output, dynamically