From: Jérémie Galarneau Date: Fri, 11 Mar 2016 23:36:00 +0000 (-0500) Subject: Assert on unknown UST buffer type X-Git-Tag: v2.8.0-rc1~81 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=967bc289202ddf847f0d48ede0a483e969726ac4;ds=inline Assert on unknown UST buffer type Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index 9af6d9d4a..aa030d3b1 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -216,6 +216,7 @@ static int get_ust_runtime_stats(struct ltt_session *session, *lost_packets += uchan->per_pid_closed_app_lost; } else { ERR("Unsupported buffer type"); + assert(0); ret = -1; goto end; }