From: Jérémie Galarneau Date: Fri, 5 May 2017 03:38:55 +0000 (-0400) Subject: Add new snapshot ustctl API X-Git-Tag: v2.10.0-rc1~37 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=40d253abbf635c6cf0b938298d56747cf67c11db;p=lttng-tools.git Add new snapshot ustctl API Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/lttng-ust-abi.h b/src/bin/lttng-sessiond/lttng-ust-abi.h index 7a5062da7..972de0c34 100644 --- a/src/bin/lttng-sessiond/lttng-ust-abi.h +++ b/src/bin/lttng-sessiond/lttng-ust-abi.h @@ -45,7 +45,7 @@ /* Version for ABI between liblttng-ust, sessiond, consumerd */ #define LTTNG_UST_ABI_MAJOR_VERSION 7 -#define LTTNG_UST_ABI_MINOR_VERSION 1 +#define LTTNG_UST_ABI_MINOR_VERSION 2 struct lttng_ust_calibrate; diff --git a/src/bin/lttng-sessiond/lttng-ust-ctl.h b/src/bin/lttng-sessiond/lttng-ust-ctl.h index a812ee857..cba0e272d 100644 --- a/src/bin/lttng-sessiond/lttng-ust-ctl.h +++ b/src/bin/lttng-sessiond/lttng-ust-ctl.h @@ -215,6 +215,7 @@ int ustctl_put_next_subbuf(struct ustctl_consumer_stream *stream); /* snapshot */ int ustctl_snapshot(struct ustctl_consumer_stream *stream); +int ustctl_snapshot_sample_positions(struct ustctl_consumer_stream *stream); int ustctl_snapshot_get_consumed(struct ustctl_consumer_stream *stream, unsigned long *pos); int ustctl_snapshot_get_produced(struct ustctl_consumer_stream *stream,