X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fload-internal.hpp;fp=include%2Flttng%2Fload-internal.hpp;h=ef09ffd9cebb40dfa76f5002a5fda317e95f8870;hp=0000000000000000000000000000000000000000;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hpb=4878de5c7deb512bbdac4fdfc498907efa06fb7c diff --git a/include/lttng/load-internal.hpp b/include/lttng/load-internal.hpp new file mode 100644 index 000000000..ef09ffd9c --- /dev/null +++ b/include/lttng/load-internal.hpp @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2014 Jérémie Galarneau + * Copyright (C) 2014 David Goulet + * + * SPDX-License-Identifier: LGPL-2.1-only + * + */ + +#ifndef LTTNG_LOAD_INTERNAL_ABI_H +#define LTTNG_LOAD_INTERNAL_ABI_H + +#include +#include + +#include +#include +#include + +/* + * Object used by the load_session API. This is opaque to the public library. + */ +struct lttng_load_session_attr { + /* Name of the session to load, empty string means all. */ + char session_name[LTTNG_NAME_MAX]; + /* URL of the session configuration file to load. */ + char input_url[PATH_MAX]; + /* Overwrite the session if it exists. */ + uint32_t overwrite; + /* The raw override url for getter */ + char *raw_override_url; + /* The raw override path url for getter */ + char *raw_override_path_url; + /* The raw override ctrl url for getter */ + char *raw_override_ctrl_url; + /* The raw override data url for getter */ + char *raw_override_data_url; + /* Override struct */ + struct config_load_session_override_attr *override_attr; +} LTTNG_PACKED; + +#endif /* LTTNG_LOAD_INTERNAL_ABI_H */