ust-ctl API: ustctl_release_object() should return an error instead of assert
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 30 Nov 2011 22:28:59 +0000 (17:28 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 30 Nov 2011 22:28:59 +0000 (17:28 -0500)
commitd26228ae208d9a5e9484c17a36c4efaf373bf474
tree4e8e62237feb1a07959b037823dd1e0285b6bc42
parent4937e69d8f911d5e7c6e835c1ae0f924188f8293
ust-ctl API: ustctl_release_object() should return an error instead of assert

Communication error can cause this function to fail, so an assert is
definitely not the right approach. Return error to caller.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-ctl.h
liblttng-ust-ctl/ustctl.c
This page took 0.025129 seconds and 4 git commands to generate.