Fix: statedump handle oom case, handle errors
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Jun 2014 17:50:15 +0000 (13:50 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Jun 2014 18:56:07 +0000 (14:56 -0400)
commit2f471d074818375e985ca0df03741a609d0750ba
tree4f17e0af805eba14044c83ae5512b0d5f6c7a434
parenta0383def517e3aebbbcebae61fe2bcfb50d31e71
Fix: statedump handle oom case, handle errors

lttng_enumerate_file_descriptors should check the pointer returned by
__get_free_page() (check if NULL).

do_lttng_statedump should check the sub-function return values. For
lttng_enumerate_block_devices(), we allow -ENOSYS to continue (if not
implemented).

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