#ifndef _LTTNG_UST_CTL_H
#define _LTTNG_UST_CTL_H
-#include <lttng/ust-abi.h>
#include <sys/types.h>
+#include "lttng-ust-abi.h"
+
#ifndef LTTNG_UST_UUID_LEN
#define LTTNG_UST_UUID_LEN 16
#endif
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 */
* event name (output,
* size LTTNG_UST_SYM_NAME_LEN)
*/
- int *loglevel,
+ int *loglevel_value,
char **signature, /*
* event signature
* (output, dynamically