X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fnotification-thread-internal.h;fp=src%2Fbin%2Flttng-sessiond%2Fnotification-thread-internal.h;h=e6467dc27cb107695f4445888ee52f8abf0d27fd;hp=0403527dca1f4f5b67d0f25cbe0cb91efee27eda;hb=82b3cbf431e12b5c5f65eaa474d0328fb86ece87;hpb=3d1384a4add389c38f8554130e8dec2e2d06009d diff --git a/src/bin/lttng-sessiond/notification-thread-internal.h b/src/bin/lttng-sessiond/notification-thread-internal.h index 0403527dc..e6467dc27 100644 --- a/src/bin/lttng-sessiond/notification-thread-internal.h +++ b/src/bin/lttng-sessiond/notification-thread-internal.h @@ -82,6 +82,8 @@ struct channel_info { struct lttng_event_notifier_notification { uint64_t tracer_token; enum lttng_domain_type type; + size_t capture_buf_size; + char *capture_buffer; }; struct notification_client_list_element { @@ -248,10 +250,15 @@ int notification_thread_client_communication_update( notification_client_id id, enum client_transmission_status transmission_status); +/* + * Takes ownership of the payload if present. + */ LTTNG_HIDDEN struct lttng_event_notifier_notification *lttng_event_notifier_notification_create( uint64_t tracer_token, - enum lttng_domain_type domain); + enum lttng_domain_type domain, + char *payload, + size_t payload_size); LTTNG_HIDDEN void lttng_event_notifier_notification_destroy(