X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsnapshot.hpp;fp=src%2Fbin%2Flttng-sessiond%2Fsnapshot.hpp;h=6aa06ddc6fb02e6c34afa7ff6c16e92ca0b5162f;hp=0000000000000000000000000000000000000000;hb=c9e313bc594f40a86eed237dce222c0fc99c957f;hpb=4878de5c7deb512bbdac4fdfc498907efa06fb7c diff --git a/src/bin/lttng-sessiond/snapshot.hpp b/src/bin/lttng-sessiond/snapshot.hpp new file mode 100644 index 000000000..6aa06ddc6 --- /dev/null +++ b/src/bin/lttng-sessiond/snapshot.hpp @@ -0,0 +1,81 @@ +/* + * Copyright (C) 2013 David Goulet + * + * SPDX-License-Identifier: GPL-2.0-only + * + */ + +#ifndef SNAPSHOT_H +#define SNAPSHOT_H + +#include +#include + +#include +#include +#include + +#include "consumer.hpp" + +struct consumer_output; +struct ltt_session; + +struct snapshot_output { + uint32_t id; + uint64_t max_size; + /* Number of snapshot taken with that output. */ + uint64_t nb_snapshot; + char name[NAME_MAX]; + struct consumer_output *consumer; + int kernel_sockets_copied; + int ust_sockets_copied; + /* + * Contains the string with "-