projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the number of snapshot taken to the output path
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
snapshot.h
diff --git
a/src/bin/lttng-sessiond/snapshot.h
b/src/bin/lttng-sessiond/snapshot.h
index a505128a6e03bf9f2471419cc0fa052c18b408fd..bdf0570366061c1691745a0a08c5ba4ceb5cc77e 100644
(file)
--- a/
src/bin/lttng-sessiond/snapshot.h
+++ b/
src/bin/lttng-sessiond/snapshot.h
@@
-32,6
+32,8
@@
struct consumer_output;
struct snapshot_output {
uint32_t id;
uint64_t max_size;
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;
char name[NAME_MAX];
struct consumer_output *consumer;
int kernel_sockets_copied;
@@
-50,6
+52,11
@@
struct snapshot_output {
struct snapshot {
unsigned long next_output_id;
size_t nb_output;
struct snapshot {
unsigned long next_output_id;
size_t nb_output;
+ /*
+ * Number of snapshot taken for that object. This value is used with a
+ * temporary output of a snapshot record.
+ */
+ uint64_t nb_snapshot;
struct lttng_ht *output_ht;
};
struct lttng_ht *output_ht;
};
This page took
0.02565 seconds
and
5
git commands to generate.