Fix: flush stream without packet_context
authorJulien Desfossez <jdesfossez@efficios.com>
Tue, 13 Jun 2017 18:03:50 +0000 (14:03 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Jun 2017 18:28:14 +0000 (14:28 -0400)
commitdaaa18514149467f14baa97a2e6d9c461152a421
tree3f85a15a728c13c140f5cb6a4e0c30f1b16736ea
parent33b228cbb7c4c64e6e6f5919c13147ddbf564b8e
Fix: flush stream without packet_context

Ensure we can flush a stream with only one packet if it does not have a
packet_context or the packet_size field.

Also truncate the stream to the content_size instead of the default 32kB
packet size.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/ctf-ir/stream.c
This page took 0.025678 seconds and 4 git commands to generate.