2 * SPDX-License-Identifier: MIT
4 * Copyright 2019 Francis Deslauriers <francis.deslauriers@efficios.com>
7 #ifndef _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H
8 #define _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H
11 #include <lttng/ust-events.h>
13 void lttng_ust_context_set_event_notifier_group_provider(const char *name
,
14 size_t (*get_size
)(struct lttng_ust_ctx_field
*field
, size_t offset
),
15 void (*record
)(struct lttng_ust_ctx_field
*field
,
16 struct lttng_ust_lib_ring_buffer_ctx
*ctx
,
17 struct lttng_ust_channel_buffer
*chan
),
18 void (*get_value
)(struct lttng_ust_ctx_field
*field
,
19 struct lttng_ust_ctx_value
*value
))
20 __attribute__((visibility("hidden")));
22 #endif /* _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H */