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>
Sun, 17 Sep 2017 18:10:50 +0000 (14:10 -0400)
commit93f709de546df98425d74fabe88141d6f94a7a91
treefc185f61fcd2679837f41b1f9c21115b125af7e6
parenta5959ce7dbbc496090c75bac602348d6eb0b6122
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.023989 seconds and 4 git commands to generate.