Launch the rotation thread using lttng_thread
[lttng-tools.git] / src / bin / lttng-sessiond / utils.h
CommitLineData
8e68d1c8
DG
1/*
2 * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
3 *
d14d33bf
AM
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.
8e68d1c8 7 *
d14d33bf
AM
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.
8e68d1c8 12 *
d14d33bf
AM
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.
8e68d1c8
DG
16 */
17
54d01ffb
DG
18#ifndef _LTT_UTILS_H
19#define _LTT_UTILS_H
8e68d1c8 20
0b2dc8df 21struct lttng_ht;
a1ae2ea5 22struct ltt_session;
0b2dc8df 23
b082db07 24const char *get_home_dir(void);
54d01ffb 25int notify_thread_pipe(int wpipe);
0b2dc8df 26void ht_cleanup_push(struct lttng_ht *ht);
19a97244
PP
27int loglevels_match(int a_loglevel_type, int a_loglevel_value,
28 int b_loglevel_type, int b_loglevel_value, int loglevel_all_type);
a1ae2ea5 29const char *session_get_base_path(const struct ltt_session *session);
8e68d1c8
DG
30
31#endif /* _LTT_UTILS_H */
This page took 0.089579 seconds and 4 git commands to generate.