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>
12 #include "ust-helper.h"
15 void lttng_ust_context_set_event_notifier_group_provider(const char *name
,
16 size_t (*get_size
)(struct lttng_ctx_field
*field
, size_t offset
),
17 void (*record
)(struct lttng_ctx_field
*field
,
18 struct lttng_ust_lib_ring_buffer_ctx
*ctx
,
19 struct lttng_channel
*chan
),
20 void (*get_value
)(struct lttng_ctx_field
*field
,
21 struct lttng_ctx_value
*value
));
23 #endif /* _LTTNG_UST_CONTEXT_PROVIDER_INTERNAL_H */