2492bb0f6f646a149490282f34a442e49116cac5
[lttng-tools.git] / src / bin / lttng-sessiond / utils.h
1 /*
2 * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8 #ifndef _LTT_UTILS_H
9 #define _LTT_UTILS_H
10
11 struct lttng_ht;
12 struct ltt_session;
13 struct consumer_output;
14
15 const char *get_home_dir(void);
16 int notify_thread_pipe(int wpipe);
17 void ht_cleanup_push(struct lttng_ht *ht);
18 int loglevels_match(int a_loglevel_type, int a_loglevel_value,
19 int b_loglevel_type, int b_loglevel_value, int loglevel_all_type);
20 const char *session_get_base_path(const struct ltt_session *session);
21 const char *consumer_output_get_base_path(const struct consumer_output *output);
22 struct lttng_filter_bytecode *lttng_filter_bytecode_copy(
23 const struct lttng_filter_bytecode *orig_f);
24
25 #endif /* _LTT_UTILS_H */
This page took 0.029923 seconds and 3 git commands to generate.