lib: remove CTF concepts of packet and event headers
[babeltrace.git] / plugins / ctf / common / metadata / visitor-generate-ir.c
index 27345fd287a63ff33d85987d0531f4d96ab7e656..c74e35728efa0e2569d846c50a345ccb77cc4aaf 100644 (file)
@@ -5060,6 +5060,13 @@ int ctf_visitor_generate_ir_visit_node(struct ctf_visitor_generate_ir *visitor,
                goto end;
        }
 
+       /*
+        * If there are fields which are not related to the CTF format
+        * itself in the packet header and in event header field
+        * classes, warn about it because they are never translated.
+        */
+       ctf_trace_class_warn_meaningless_header_fields(ctx->ctf_tc);
+
        if (ctx->trace_class) {
                /* Copy new CTF metadata -> new IR metadata */
                ret = ctf_trace_class_translate(ctx->trace_class, ctx->ctf_tc);
This page took 0.023902 seconds and 4 git commands to generate.