LTTng control library C API
Loading...
Searching...
No Matches
channel-descriptor-kernel.h
1/*
2 * Copyright (C) 2024 Philippe Proulx <eepp@efficios.com>
3 * Copyright (C) 2024 Jérémie Galarneau <jeremie.galarneau@efficios.com>
4 *
5 * SPDX-License-Identifier: LGPL-2.1-only
6 *
7 */
8
9#ifndef LTTNG_MAP_CHANNEL_DESCRIPTOR_KERNEL_H
10#define LTTNG_MAP_CHANNEL_DESCRIPTOR_KERNEL_H
11
12#include <lttng/lttng-export.h>
13#include <lttng/map/channel-descriptor.h>
14#include <lttng/map/value-type.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
84LTTNG_EXPORT extern struct lttng_map_channel_descriptor *
86 enum lttng_map_value_type value_type);
87
89
90#ifdef __cplusplus
91}
92#endif
93
94#endif /* LTTNG_MAP_CHANNEL_DESCRIPTOR_KERNEL_H */
struct lttng_map_channel_descriptor * lttng_map_channel_descriptor_kernel_string_key_scalar_value_create(enum lttng_map_value_type value_type)
Creates a descriptor of a Linux kernel map channel whose maps have string keys and scalar values.
lttng_map_value_type
Type of the values of a map.
Definition value-type.h:25
Map channel descriptor (opaque type).