ir: stream.c: do not truncate file at each packet flush
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 17 Aug 2017 22:00:27 +0000 (18:00 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 15 Sep 2017 18:23:17 +0000 (14:23 -0400)
commit08852d6e984f19911752f78c4de9cbc4bb82ba8d
tree229daba236a59b570789aba209e3dfd2166f90c2
parentfdad611f76f0819f37be88357e9e3e52cb317d81
ir: stream.c: do not truncate file at each packet flush

The whole stream file is truncated in bt_ctf_stream_destroy() anyway so
truncating at each packet flush is redundant.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/ctf-ir/stream.c
This page took 0.024763 seconds and 4 git commands to generate.