Commit | Line | Data |
---|---|---|
8e68d1c8 | 1 | /* |
21cf9b6b | 2 | * Copyright (C) 2011 EfficiOS Inc. |
8e68d1c8 | 3 | * |
ab5be9fa | 4 | * SPDX-License-Identifier: GPL-2.0-only |
8e68d1c8 | 5 | * |
8e68d1c8 DG |
6 | */ |
7 | ||
54d01ffb DG |
8 | #ifndef _LTT_UTILS_H |
9 | #define _LTT_UTILS_H | |
8e68d1c8 | 10 | |
0b2dc8df | 11 | struct lttng_ht; |
a1ae2ea5 | 12 | struct ltt_session; |
348a81dc | 13 | struct consumer_output; |
0b2dc8df | 14 | |
0f4aa1a8 | 15 | const char *get_home_dir(); |
54d01ffb | 16 | int notify_thread_pipe(int wpipe); |
28f23191 JG |
17 | int loglevels_match(int a_loglevel_type, |
18 | int a_loglevel_value, | |
19 | int b_loglevel_type, | |
20 | int b_loglevel_value, | |
21 | int loglevel_all_type); | |
a1ae2ea5 | 22 | const char *session_get_base_path(const struct ltt_session *session); |
348a81dc | 23 | const char *consumer_output_get_base_path(const struct consumer_output *output); |
8e68d1c8 DG |
24 | |
25 | #endif /* _LTT_UTILS_H */ |