event-rule: lttng_event_rule base object
[lttng-tools.git] / include / lttng / load-internal.h
1 /*
2 * Copyright (C) 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 * Copyright (C) 2014 David Goulet <dgoulet@efficios.com>
4 *
5 * SPDX-License-Identifier: LGPL-2.1-only
6 *
7 */
8
9 #ifndef LTTNG_LOAD_INTERNAL_ABI_H
10 #define LTTNG_LOAD_INTERNAL_ABI_H
11
12 #include <limits.h>
13 #include <stdint.h>
14
15 #include <lttng/constant.h>
16 #include <common/macros.h>
17 #include <common/config/session-config.h>
18
19 /*
20 * Object used by the load_session API. This is opaque to the public library.
21 */
22 struct lttng_load_session_attr {
23 /* Name of the session to load, empty string means all. */
24 char session_name[LTTNG_NAME_MAX];
25 /* URL of the session configuration file to load. */
26 char input_url[PATH_MAX];
27 /* Overwrite the session if it exists. */
28 uint32_t overwrite;
29 /* The raw override url for getter */
30 char *raw_override_url;
31 /* The raw override path url for getter */
32 char *raw_override_path_url;
33 /* The raw override ctrl url for getter */
34 char *raw_override_ctrl_url;
35 /* The raw override data url for getter */
36 char *raw_override_data_url;
37 /* Override struct */
38 struct config_load_session_override_attr *override_attr;
39 } LTTNG_PACKED;
40
41 #endif /* LTTNG_LOAD_INTERNAL_ABI_H */
This page took 0.034642 seconds and 5 git commands to generate.