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:29:58 +0000 (18:29 -0400)
commit84c7055e17f9bf7628fe1004db732d932ed2a77b
treeea35fabf538a272ddb5252a7b1bc543662116cf4
parent05732a66bd235ff9ea4e73b5072872e1647775e1
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.026609 seconds and 4 git commands to generate.