Commit | Line | Data |
---|---|---|
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 | ||
11 | #include <limits.h> | |
12 | #include <stdint.h> | |
13 | ||
36d2e35d | 14 | #include <lttng/constant.h> |
00c76cea JG |
15 | #include <common/macros.h> |
16 | ||
17 | /* | |
18 | * Object used by the save_session API. This is opaque to the public library. | |
19 | */ | |
20 | struct lttng_save_session_attr { | |
21 | /* Name of the session to save, empty string means all. */ | |
36d2e35d | 22 | char session_name[LTTNG_NAME_MAX]; |
00c76cea JG |
23 | /* Destination of the session configuration. See lttng(1) for URL format. */ |
24 | char configuration_url[PATH_MAX]; | |
25 | /* Overwrite the session configuration file if it exists. */ | |
c7b06618 | 26 | uint8_t overwrite; |
30f9c327 JG |
27 | /* Omit the sessions' name(s). */ |
28 | uint8_t omit_name; | |
29 | /* Omit the sessions' output(s). */ | |
30 | uint8_t omit_output; | |
00c76cea JG |
31 | } LTTNG_PACKED; |
32 | ||
33 | #endif /* LTTNG_SAVE_INTERNAL_ABI_H */ |