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./?a=commitdiff_plain;h=967bc289202ddf847f0d48ede0a483e969726ac4;p=lttng-tools.git 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; }