lib: remove CTF concepts of packet and event headers
[babeltrace.git] / plugins / text / pretty / print.c
index 32719cbaec5a5e6ab4bced0763cc1ad530212701..88c84a97895381aedd9e5d1fd6da9e8b5a90eb5c 100644 (file)
@@ -1077,31 +1077,6 @@ end:
        return ret;
 }
 
-static
-int print_event_header_raw(struct pretty_component *pretty,
-               const bt_event *event)
-{
-       int ret = 0;
-       const bt_field *main_field = NULL;
-
-       main_field = bt_event_borrow_header_field_const(event);
-       if (!main_field) {
-               goto end;
-       }
-       if (!pretty->start_line) {
-               g_string_append(pretty->string, ", ");
-       }
-       pretty->start_line = false;
-       if (pretty->options.print_scope_field_names) {
-               print_name_equal(pretty, "stream.event.header");
-       }
-       ret = print_field(pretty, main_field,
-                       pretty->options.print_header_field_names, NULL, 0);
-
-end:
-       return ret;
-}
-
 static
 int print_stream_event_context(struct pretty_component *pretty,
                const bt_event *event)
@@ -1215,13 +1190,6 @@ int pretty_print_event(struct pretty_component *pretty,
                goto end;
        }
 
-       if (pretty->options.verbose) {
-               ret = print_event_header_raw(pretty, event);
-               if (ret != 0) {
-                       goto end;
-               }
-       }
-
        ret = print_stream_event_context(pretty, event);
        if (ret != 0) {
                goto end;
This page took 0.024177 seconds and 4 git commands to generate.