Fix: kconsumer: missing wait for metadata thread in do_sync_metadata
[lttng-tools.git] / src / common / snapshot.h
CommitLineData
b30fa191
JR
1/*
2 * Copyright (C) 2020 Simon Marchi <simon.marchi@efficios.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 */
7
8#ifndef COMMON_SNAPSHOT_H
9#define COMMON_SNAPSHOT_H
10
11#include <common/macros.h>
12
13#include <stdbool.h>
14
757c48a2
SM
15struct lttng_payload_view;
16struct lttng_payload;
b30fa191
JR
17struct lttng_snapshot_output;
18
19LTTNG_HIDDEN
20bool lttng_snapshot_output_validate(const struct lttng_snapshot_output *output);
21
22LTTNG_HIDDEN
23bool lttng_snapshot_output_is_equal(
24 const struct lttng_snapshot_output *a,
25 const struct lttng_snapshot_output *b);
26
27LTTNG_HIDDEN
28int lttng_snapshot_output_serialize(
29 const struct lttng_snapshot_output *output,
757c48a2 30 struct lttng_payload *payload);
b30fa191
JR
31
32LTTNG_HIDDEN
757c48a2
SM
33ssize_t lttng_snapshot_output_create_from_payload(
34 struct lttng_payload_view *view,
b30fa191
JR
35 struct lttng_snapshot_output **output_p);
36
37#endif /* COMMON_SNAPSHOT_H */
This page took 0.027453 seconds and 4 git commands to generate.