Fix: keep active session state on redundant start command
[lttng-tools.git] / src / bin / lttng-sessiond / utils.h
1 /*
2 * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License, version 2 only,
6 * as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License along
14 * with this program; if not, write to the Free Software Foundation, Inc.,
15 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16 */
17
18 #ifndef _LTT_UTILS_H
19 #define _LTT_UTILS_H
20
21 struct lttng_ht;
22 struct ltt_session;
23 struct consumer_output;
24
25 const char *get_home_dir(void);
26 int notify_thread_pipe(int wpipe);
27 void ht_cleanup_push(struct lttng_ht *ht);
28 int loglevels_match(int a_loglevel_type, int a_loglevel_value,
29 int b_loglevel_type, int b_loglevel_value, int loglevel_all_type);
30 const char *session_get_base_path(const struct ltt_session *session);
31 const char *consumer_output_get_base_path(const struct consumer_output *output);
32
33 #endif /* _LTT_UTILS_H */
This page took 0.029987 seconds and 4 git commands to generate.