X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Ftracefile-array.h;h=dc556733b4c1fe556362341b7fe244b96d4f6106;hp=04d9123d03fc3caa9a3257dd654a11e45d7a94ba;hb=6ec9dc48cf7f3d5e1fc01f741197c0bacc94bbf0;hpb=78118e3bdace1208479db18df6553ab9c4400426 diff --git a/src/bin/lttng-relayd/tracefile-array.h b/src/bin/lttng-relayd/tracefile-array.h index 04d9123d0..dc556733b 100644 --- a/src/bin/lttng-relayd/tracefile-array.h +++ b/src/bin/lttng-relayd/tracefile-array.h @@ -64,7 +64,9 @@ struct tracefile_array *tracefile_array_create(size_t count); void tracefile_array_destroy(struct tracefile_array *tfa); void tracefile_array_file_rotate(struct tracefile_array *tfa, enum tracefile_rotate_type type); -void tracefile_array_commit_seq(struct tracefile_array *tfa); +void tracefile_array_commit_seq(struct tracefile_array *tfa, + uint64_t new_seq_head); +void tracefile_array_reset(struct tracefile_array *tfa); uint64_t tracefile_array_get_read_file_index_head(struct tracefile_array *tfa); /* May return -1ULL in the case where we have not received any indexes yet. */