* [lttng-dev] [PATCH lttng-tools] Fix: snapshot should fail if no successful snapshot is taken
[not found] <20130822204658.GA4260@Krystal>
@ 2013-08-24 18:55 ` Mathieu Desnoyers
0 siblings, 0 replies; only message in thread
From: Mathieu Desnoyers @ 2013-08-24 18:55 UTC (permalink / raw)
* Mathieu Desnoyers (mathieu.desnoyers at efficios.com) wrote:
> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
I notice this patch is merged too.
Thanks,
Mathieu
> ---
> diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c
> index 64fa5c0..17dcfc4 100644
> --- a/src/bin/lttng-sessiond/cmd.c
> +++ b/src/bin/lttng-sessiond/cmd.c
> @@ -2836,6 +2836,8 @@ int cmd_snapshot_record(struct ltt_session *session,
>
> if (snapshot_success) {
> session->snapshot.nb_snapshot++;
> + } else {
> + ret = LTTNG_ERR_SNAPSHOT_FAIL;
> }
>
> error:
>
> --
> Mathieu Desnoyers
> EfficiOS Inc.
> http://www.efficios.com
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-24 18:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20130822204658.GA4260@Krystal>
2013-08-24 18:55 ` [lttng-dev] [PATCH lttng-tools] Fix: snapshot should fail if no successful snapshot is taken Mathieu Desnoyers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox