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:56 +0000 (17:29 -0500)
commitbecac7c4dcc7ea735993df97192b5fe880011430
tree9d30f9e027b715a26e6f19aa781a1150f00cc7d8
parentb64dd54ff24bdf563261d5643b827f52e1f6092e
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.026178 seconds and 5 git commands to generate.