2 * SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2011 Julien Desfossez <julien.desfossez@polymtl.ca>
5 * Copyright (C) 2011-2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 #ifndef _LTTNG_UST_CTL_PRIVATE_H
9 #define _LTTNG_UST_CTL_PRIVATE_H
11 #include <lttng/ust-ctl.h>
14 * Map channel lttng_ust_shm_handle and add streams. Typically performed
15 * by the application to map the objects into its memory space.
17 struct lttng_ust_shm_handle
*
18 ustctl_map_channel(struct lttng_ust_object_data
*chan_data
);
19 int ustctl_add_stream(struct lttng_ust_shm_handle
*lttng_ust_shm_handle
,
20 struct lttng_ust_object_data
*stream_data
);
22 * Note: the lttng_ust_object_data from which the lttng_ust_shm_handle
23 * is derived can only be released after unmapping the handle.
25 void ustctl_unmap_channel(struct lttng_ust_shm_handle
*lttng_ust_shm_handle
);
27 #endif /* _LTTNG_UST_CTL_PRIVATE_H */
This page took 0.030494 seconds and 4 git commands to generate.