Pretty plugin: only print negative timestamp warning once per component
[babeltrace.git] / plugins / text / pretty / pretty.h
index 0c8b27d99ec28572292616da49b850203814a248..554fc72f8742523cb42feb2dccf992680c69a08e 100644 (file)
@@ -48,8 +48,6 @@ enum pretty_color_option {
 
 struct pretty_options {
        char *output_path;
-       char *debug_info_dir;
-       char *debug_info_target_prefix;
 
        enum pretty_default name_default;
        enum pretty_default field_default;
@@ -73,7 +71,6 @@ struct pretty_options {
        bool clock_seconds;
        bool clock_date;
        bool clock_gmt;
-       bool debug_info_full_path;
        enum pretty_color_option color;
        bool verbose;
 };
@@ -85,6 +82,7 @@ struct pretty_component {
        int depth;      /* nesting, used for tabulation alignment. */
        bool start_line;
        GString *string;
+       GString *tmp_string;
        struct bt_value *plugin_opt_map;        /* Temporary parameter map. */
        bool use_colors;
        bool error;
@@ -94,6 +92,8 @@ struct pretty_component {
 
        uint64_t last_real_timestamp;
        uint64_t delta_real_timestamp;
+
+       bool negative_timestamp_warning_done;
 };
 
 enum stream_packet_context_quarks_enum {
@@ -130,4 +130,9 @@ BT_HIDDEN
 enum bt_component_status pretty_print_event(struct pretty_component *pretty,
                struct bt_notification *event_notif);
 
+BT_HIDDEN
+enum bt_component_status pretty_print_discarded_elements(
+               struct pretty_component *pretty,
+               struct bt_notification *notif);
+
 #endif /* BABELTRACE_PLUGIN_TEXT_PRETTY_PRETTY_H */
This page took 0.023453 seconds and 4 git commands to generate.