Fix: consumerd: add missing put_subbuf for ust and kernel errors
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 11 Jan 2017 20:49:49 +0000 (15:49 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 23 Jan 2017 22:29:48 +0000 (17:29 -0500)
commitc3c60f7dadb9996f53935e359e44e1f9b93dffb4
tree18c3623204d6b4a96a121fbc5daa8c9898acb8ae
parenta621010b2b65472f811bd4fda93c7228324669be
Fix: consumerd: add missing put_subbuf for ust and kernel errors

While reading a sub-buffer, error handling need to put the sub-buffer,
else all future attempts to use the stream will trigger warnings.

The affects recent features added to UST and kernel tracing.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/kernel-consumer/kernel-consumer.c
src/common/ust-consumer/ust-consumer.c
This page took 0.026103 seconds and 4 git commands to generate.