Assert on unknown UST buffer type
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 11 Mar 2016 23:36:00 +0000 (18:36 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 11 Mar 2016 23:36:00 +0000 (18:36 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/cmd.c

index 9af6d9d4acce64b9b9855e46ed462a624573c693..aa030d3b1253f45a716cfa2386c8282c2173611a 100644 (file)
@@ -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;
        }
This page took 0.035783 seconds and 4 git commands to generate.