};
#define lttng_ust_type_integer_define(_type, _byte_order, _base) \
- ((struct lttng_ust_type_common *) __LTTNG_COMPOUND_LITERAL(struct lttng_ust_type_integer, { \
+ ((struct lttng_ust_type_common *) LTTNG_UST_COMPOUND_LITERAL(struct lttng_ust_type_integer, { \
.parent = { \
.type = lttng_ust_type_integer, \
}, \
: 0))
#define lttng_ust_type_float_define(_type) \
- ((struct lttng_ust_type_common *) __LTTNG_COMPOUND_LITERAL(struct lttng_ust_type_float, { \
+ ((struct lttng_ust_type_common *) LTTNG_UST_COMPOUND_LITERAL(struct lttng_ust_type_float, { \
.parent = { \
.type = lttng_ust_type_float, \
}, \
int enabled;
int eval_filter; /* Need to evaluate filters */
- int (*run_filter)(struct lttng_ust_event_common *event,
+ int (*run_filter)(const struct lttng_ust_event_common *event,
const char *stack_data,
void *filter_ctx);
struct lttng_ust_event_notifier_private *priv; /* Private event notifier interface */
int eval_capture; /* Need to evaluate capture */
- void (*notification_send)(struct lttng_ust_event_notifier *event_notifier,
+ void (*notification_send)(const struct lttng_ust_event_notifier *event_notifier,
const char *stack_data,
struct lttng_ust_notification_ctx *notif_ctx);