2 * Copyright (C) 2011 - Julien Desfossez <julien.desfossez@polymtl.ca>
3 * Copyright (C) 2011-2013 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License only.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #ifndef _LTTNG_UST_CTL_PRIVATE_H
20 #define _LTTNG_UST_CTL_PRIVATE_H
22 #include <lttng/ust-ctl.h>
25 * Map channel lttng_ust_shm_handle and add streams. Typically performed
26 * by the application to map the objects into its memory space.
28 struct lttng_ust_shm_handle
*
29 ustctl_map_channel(struct lttng_ust_object_data
*chan_data
);
30 int ustctl_add_stream(struct lttng_ust_shm_handle
*lttng_ust_shm_handle
,
31 struct lttng_ust_object_data
*stream_data
);
33 * Note: the lttng_ust_object_data from which the lttng_ust_shm_handle
34 * is derived can only be released after unmapping the handle.
36 void ustctl_unmap_channel(struct lttng_ust_shm_handle
*lttng_ust_shm_handle
);
38 #endif /* _LTTNG_UST_CTL_PRIVATE_H */
This page took 0.029939 seconds and 4 git commands to generate.