Fix: missing statedump end event when block device listing available
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 14 May 2015 22:29:58 +0000 (18:29 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 14 May 2015 22:33:52 +0000 (18:33 -0400)
commitd16e1d266350c80935a6624f5091aeb7c70b9135
treed77e9f5c76b9feffc55271d35c1f540b2dcbee05
parent43d3e7d79c69b217d69266c10467ca5618cd0e95
Fix: missing statedump end event when block device listing available

Incorrect handling of lttng_enumerate_block_devices() return value of 0
(which means "ok"), causing do_lttng_statedump() to return early.

To causes missing "lttng_statedump_end" in traces where block device
enumeration is available (CONFIG_KALLSYMS=y).

Reported-by: Antoine Busque <abusque@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-statedump-impl.c
This page took 0.02575 seconds and 4 git commands to generate.