trimmer: Update the bounds of the trimmed packets
authorJulien Desfossez <jdesfossez@efficios.com>
Wed, 22 Feb 2017 21:49:29 +0000 (16:49 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:39 +0000 (12:57 -0400)
commit19ce87a480ab119ed5339fb5725620a7347d7d86
tree9a4d0aa27fd53c7e0da14bb97c7d2c0e32ad81c6
parent8654d3067604d63b6df17571cac79c4485d6496f
trimmer: Update the bounds of the trimmed packets

Update the timestamp_begin field of the first packet of each stream and
the timestamp_end field of the last packet to reflect the fact that the
packet content got truncated by the user. This is important for the
packet intersection feature afterwards. This requires that we create new
packets and copy the events to assign them to the new packets.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/utils/trimmer/Makefile.am
plugins/utils/trimmer/copy.c [new file with mode: 0644]
plugins/utils/trimmer/copy.h [new file with mode: 0644]
plugins/utils/trimmer/iterator.c
plugins/utils/trimmer/iterator.h
This page took 0.024332 seconds and 4 git commands to generate.