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>
Fri, 16 Jun 2017 18:56:21 +0000 (14:56 -0400)
commit1c1d572f5cf7eb9a5eab0feaef8b745c45b6dad0
treeada9f499c7105476761c0b1e6fb4ec49da0876f7
parent263c5cefb0a3faac3f7c4265bbaa0455b04cef8d
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.025016 seconds and 4 git commands to generate.