sessiond: propagate the use of ltt_session::locked_ref
[lttng-tools.git] / src / bin / lttng-sessiond / utils.hpp
CommitLineData
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
a0a4f314
JG
11#include "session.hpp"
12
0b2dc8df 13struct lttng_ht;
348a81dc 14struct consumer_output;
0b2dc8df 15
0f4aa1a8 16const char *get_home_dir();
54d01ffb 17int notify_thread_pipe(int wpipe);
28f23191
JG
18int loglevels_match(int a_loglevel_type,
19 int a_loglevel_value,
20 int b_loglevel_type,
21 int b_loglevel_value,
22 int loglevel_all_type);
a0a4f314 23const char *session_get_base_path(const ltt_session::locked_ref& session);
348a81dc 24const char *consumer_output_get_base_path(const struct consumer_output *output);
8e68d1c8
DG
25
26#endif /* _LTT_UTILS_H */
This page took 0.089512 seconds and 4 git commands to generate.