Fix copytrace: copy packet_context
authorJulien Desfossez <jdesfossez@efficios.com>
Wed, 14 Jun 2017 18:45:46 +0000 (14:45 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Jun 2017 18:28:14 +0000 (14:28 -0400)
commit674221e5addb9bc38e616a29936a15cde4b7949b
tree2d89f9c072fd2756b7f7126a106e5331d7e19e65
parent2ca6de5cb597b4c40251f1f744cb47b909d31c79
Fix copytrace: copy packet_context

Since we are not filtering the fields in the packet_context anymore, we
can now use the deep copy function bt_ctf_field_copy for the
packet_context.

Refactor the code to work with that and create a function to set the
packet_context on a packet or on a stream.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/ctf/fs-sink/write.c
plugins/libctfcopytrace/ctfcopytrace.c
plugins/libctfcopytrace/ctfcopytrace.h
plugins/lttng-utils/copy.c
plugins/utils/trimmer/copy.c
This page took 0.028576 seconds and 4 git commands to generate.