fix: relayd: unaligned access in trace_chunk_registry_ht_key_hash
[lttng-tools.git] / src / bin / lttng / exception.cpp
1 /*
2 * Copyright (C) 2024 Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8 #include "exception.hpp"
9
10 #include <common/format.hpp>
11 #include <common/utils.hpp>
12
13 #include <sstream>
14
15 lttng::cli::no_default_session_error::no_default_session_error(const char *file_name,
16 const char *function_name,
17 unsigned int line_number) :
18 runtime_error(lttng::format("No default session found in `{}/.lttngrc`",
19 utils_get_home_dir() ?: "LTTNG_HOME"),
20 file_name,
21 function_name,
22 line_number)
23 {
24 }
This page took 0.029547 seconds and 4 git commands to generate.