From af2ebbbf655c45c6a4c6ea7db8f4a4a2a540d2d8 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Thu, 6 Jun 2019 09:19:49 +0200 Subject: [PATCH] Add more fields to list of ignored fields and order them --- conversion/ctf.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/conversion/ctf.py b/conversion/ctf.py index 3ddba4e..5ae4ca7 100644 --- a/conversion/ctf.py +++ b/conversion/ctf.py @@ -4,9 +4,11 @@ import babeltrace from pickle import Pickler import time -# TODO -_IGNORED_FIELDS = [] -_DISCARD = "events_discarded" +_IGNORED_FIELDS = [ + 'content_size', 'cpu_id', 'events_discarded', 'id', 'packet_size', 'packet_seq_num', + 'stream_id', 'stream_instance_id', 'timestamp_end', 'timestamp_begin', 'magic', 'uuid', 'v' +] +_DISCARD = 'events_discarded' def ctf_to_pickle(trace_directory, target): """