docs: Add supported versions and fix-backport policy
[lttng-tools.git] / include / lttng / save-internal.hpp
CommitLineData
00c76cea 1/*
ab5be9fa 2 * Copyright (C) 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com>
00c76cea 3 *
ab5be9fa 4 * SPDX-License-Identifier: LGPL-2.1-only
00c76cea 5 *
00c76cea
JG
6 */
7
8#ifndef LTTNG_SAVE_INTERNAL_ABI_H
9#define LTTNG_SAVE_INTERNAL_ABI_H
10
28f23191 11#include <common/macros.hpp>
00c76cea 12
36d2e35d 13#include <lttng/constant.h>
28f23191
JG
14
15#include <limits.h>
16#include <stdint.h>
00c76cea
JG
17
18/*
19 * Object used by the save_session API. This is opaque to the public library.
20 */
21struct lttng_save_session_attr {
22 /* Name of the session to save, empty string means all. */
36d2e35d 23 char session_name[LTTNG_NAME_MAX];
00c76cea
JG
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. */
c7b06618 27 uint8_t overwrite;
30f9c327
JG
28 /* Omit the sessions' name(s). */
29 uint8_t omit_name;
30 /* Omit the sessions' output(s). */
31 uint8_t omit_output;
00c76cea
JG
32} LTTNG_PACKED;
33
34#endif /* LTTNG_SAVE_INTERNAL_ABI_H */
This page took 0.054447 seconds and 4 git commands to generate.