Tests: Add test to check shared-memory FD leaks after relayd dies
[lttng-tools.git] / include / lttng / save-internal.hpp
1 /*
2 * Copyright (C) 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8 #ifndef LTTNG_SAVE_INTERNAL_ABI_H
9 #define LTTNG_SAVE_INTERNAL_ABI_H
10
11 #include <common/macros.hpp>
12
13 #include <lttng/constant.h>
14
15 #include <limits.h>
16 #include <stdint.h>
17
18 /*
19 * Object used by the save_session API. This is opaque to the public library.
20 */
21 struct lttng_save_session_attr {
22 /* Name of the session to save, empty string means all. */
23 char session_name[LTTNG_NAME_MAX];
24 /* Destination of the session configuration. See lttng(1) for URL format. */
25 char configuration_url[PATH_MAX];
26 /* Overwrite the session configuration file if it exists. */
27 uint8_t overwrite;
28 /* Omit the sessions' name(s). */
29 uint8_t omit_name;
30 /* Omit the sessions' output(s). */
31 uint8_t omit_output;
32 } LTTNG_PACKED;
33
34 #endif /* LTTNG_SAVE_INTERNAL_ABI_H */
This page took 0.029735 seconds and 4 git commands to generate.