#define RING_BUFFER_MODE_TEMPLATE_EXIT \
lttng_ring_buffer_client_discard_rt_exit
#define LTTNG_CLIENT_TYPE LTTNG_CLIENT_DISCARD_RT
-#define LTTNG_CLIENT_CALLBACKS lttng_client_callbacks_discard_rt
#define LTTNG_CLIENT_WAKEUP RING_BUFFER_WAKEUP_BY_TIMER
#include "lttng-ring-buffer-client.h"
#define RING_BUFFER_MODE_TEMPLATE_EXIT \
lttng_ring_buffer_client_discard_exit
#define LTTNG_CLIENT_TYPE LTTNG_CLIENT_DISCARD
-#define LTTNG_CLIENT_CALLBACKS lttng_client_callbacks_discard
#define LTTNG_CLIENT_WAKEUP RING_BUFFER_WAKEUP_BY_WRITER
#include "lttng-ring-buffer-client.h"
#define RING_BUFFER_MODE_TEMPLATE_EXIT \
lttng_ring_buffer_client_overwrite_rt_exit
#define LTTNG_CLIENT_TYPE LTTNG_CLIENT_OVERWRITE_RT
-#define LTTNG_CLIENT_CALLBACKS lttng_client_callbacks_overwrite_rt
#define LTTNG_CLIENT_WAKEUP RING_BUFFER_WAKEUP_BY_TIMER
#include "lttng-ring-buffer-client.h"
#define RING_BUFFER_MODE_TEMPLATE_EXIT \
lttng_ring_buffer_client_overwrite_exit
#define LTTNG_CLIENT_TYPE LTTNG_CLIENT_OVERWRITE
-#define LTTNG_CLIENT_CALLBACKS lttng_client_callbacks_overwrite
#define LTTNG_CLIENT_WAKEUP RING_BUFFER_WAKEUP_BY_WRITER
#include "lttng-ring-buffer-client.h"
.cb_ptr = &client_cb.parent,
};
-const struct lttng_ust_client_lib_ring_buffer_client_cb *LTTNG_CLIENT_CALLBACKS = &client_cb;
-
static
struct lttng_channel *_channel_create(const char *name,
void *buf_addr,
#define RING_BUFFER_MODE_TEMPLATE_EXIT \
lttng_ring_buffer_metadata_client_exit
#define LTTNG_CLIENT_TYPE LTTNG_CLIENT_METADATA
-#define LTTNG_CLIENT_CALLBACKS lttng_client_callbacks_metadata
#include "lttng-ring-buffer-metadata-client.h"
.cb_ptr = &client_cb.parent,
};
-const struct lttng_ust_client_lib_ring_buffer_client_cb *LTTNG_CLIENT_CALLBACKS = &client_cb;
-
static
struct lttng_channel *_channel_create(const char *name,
void *buf_addr,