Fix concurrency issues while overwriting tracefiles in live
[lttng-tools.git] / src / bin / lttng-relayd / live.h
CommitLineData
d3e2ba59
JD
1/*
2 * Copyright (C) 2013 - Julien Desfossez <jdesfossez@efficios.com>
3 * David Goulet <dgoulet@efficios.com>
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License, version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc., 51
16 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 */
18
19#ifndef LTTNG_RELAYD_LIVE_H
20#define LTTNG_RELAYD_LIVE_H
21
22#include <common/uri.h>
23
24#include "lttng-relayd.h"
25
26int live_start_threads(struct lttng_uri *live_uri,
42415026 27 struct relay_local_data *relay_ctx, int quit_pipe[2]);
d3e2ba59
JD
28void live_stop_threads(void);
29
92c6ca54 30struct relay_viewer_stream *live_find_viewer_stream_by_id(uint64_t stream_id);
d3e2ba59
JD
31
32#endif /* LTTNG_RELAYD_LIVE_H */
This page took 0.024808 seconds and 4 git commands to generate.