9#ifndef LTTNG_MAP_CHANNEL_DESCRIPTOR_USER_H
10#define LTTNG_MAP_CHANNEL_DESCRIPTOR_USER_H
12#include <lttng/lttng-export.h>
13#include <lttng/map/channel-buffer-ownership.h>
14#include <lttng/map/channel-dead-group-policy.h>
15#include <lttng/map/channel-descriptor.h>
16#include <lttng/map/value-type.h>
enum lttng_map_channel_descriptor_status lttng_map_channel_descriptor_user_get_buffer_ownership(const struct lttng_map_channel_descriptor *descriptor, enum lttng_map_channel_buffer_ownership *ownership_model)
Sets *ownership_model to the buffer ownership model of the user space map channel described by descri...
struct lttng_map_channel_descriptor * lttng_map_channel_descriptor_user_string_key_scalar_value_create(enum lttng_map_value_type value_type, enum lttng_map_channel_buffer_ownership ownership_model)
Creates a descriptor of a user space map channel whose maps have string keys and scalar values.
lttng_map_channel_dead_group_policy
Dead group policy of a user space map channel with the per-process buffer ownership model.
Definition channel-dead-group-policy.h:30
enum lttng_map_channel_descriptor_status lttng_map_channel_descriptor_user_set_dead_group_policy(struct lttng_map_channel_descriptor *descriptor, enum lttng_map_channel_dead_group_policy policy)
Sets the dead group policy property of the user space map channel described by descriptor to policy.
enum lttng_map_channel_descriptor_status lttng_map_channel_descriptor_user_get_dead_group_policy(const struct lttng_map_channel_descriptor *descriptor, enum lttng_map_channel_dead_group_policy *policy)
Sets *policy to the dead group policy property of the user space map channel described by descriptor.
lttng_map_channel_buffer_ownership
Buffer ownership model of a user space map channel.
Definition channel-buffer-ownership.h:28
lttng_map_channel_descriptor_status
Status code for map channel descriptor property accessors.
Definition channel-descriptor.h:40
lttng_map_value_type
Type of the values of a map.
Definition value-type.h:25
Map channel descriptor (opaque type).