From: Jérémie Galarneau Date: Wed, 19 Mar 2014 15:25:26 +0000 (-0400) Subject: Fix: Remove overly restrictive asserts in create_session() X-Git-Tag: v2.5.0-rc1~104 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7c6b168498857c3b359021114f7d3c2950051da1;p=lttng-tools.git Fix: Remove overly restrictive asserts in create_session() The current assertions only allow sessions containing all three domain types to be created. The pointers are already checked at ln 1242. Signed-off-by: Jérémie Galarneau Signed-off-by: David Goulet --- diff --git a/src/common/config/config.c b/src/common/config/config.c index a890c9d87..13af2f117 100644 --- a/src/common/config/config.c +++ b/src/common/config/config.c @@ -1186,9 +1186,6 @@ int create_session(const char *name, xmlNodePtr consumer_output_node; assert(name); - assert(kernel_domain); - assert(ust_domain); - assert(jul_domain); if (output_node) { consumer_output_node = xmlFirstElementChild(output_node);