Fix: lttng_trace_archive_location_serialize is called on freed memory
[lttng-tools.git] / src / bin / lttng-sessiond / utils.h
CommitLineData
8e68d1c8 1/*
ab5be9fa 2 * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
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 11struct lttng_ht;
a1ae2ea5 12struct ltt_session;
348a81dc 13struct consumer_output;
0b2dc8df 14
b082db07 15const char *get_home_dir(void);
54d01ffb 16int notify_thread_pipe(int wpipe);
0b2dc8df 17void ht_cleanup_push(struct lttng_ht *ht);
19a97244
PP
18int loglevels_match(int a_loglevel_type, int a_loglevel_value,
19 int b_loglevel_type, int b_loglevel_value, int loglevel_all_type);
a1ae2ea5 20const char *session_get_base_path(const struct ltt_session *session);
348a81dc 21const char *consumer_output_get_base_path(const struct consumer_output *output);
8e68d1c8
DG
22
23#endif /* _LTT_UTILS_H */
This page took 0.067921 seconds and 4 git commands to generate.