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>
Fri, 16 Jun 2017 20:49:03 +0000 (16:49 -0400)
commit9877e1aa544b3433d0f982bfc82cd6db8cc927ae
tree230eeab3a97509189a108d06361ce09eda0b40cb
parentcfb74f3de463dfeffacda5313d75d6055f635e0e
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.025469 seconds and 4 git commands to generate.