projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: add sink component class's "graph is configured" method
[babeltrace.git]
/
plugins
/
text
/
pretty
/
pretty.h
diff --git
a/plugins/text/pretty/pretty.h
b/plugins/text/pretty/pretty.h
index d2753bf4c152987b503cd42cb35d2b3ae8e3fd03..e1027277a4269a814bb2ce27b3fef0b0b9a9ca4c 100644
(file)
--- a/
plugins/text/pretty/pretty.h
+++ b/
plugins/text/pretty/pretty.h
@@
-2,8
+2,6
@@
#define BABELTRACE_PLUGIN_TEXT_PRETTY_PRETTY_H
/*
#define BABELTRACE_PLUGIN_TEXT_PRETTY_PRETTY_H
/*
- * BabelTrace - CTF Text Output Plug-in
- *
* Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
* Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
* Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
* Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
@@
-74,13
+72,13
@@
struct pretty_options {
struct pretty_component {
struct pretty_options options;
struct pretty_component {
struct pretty_options options;
-
struct bt_notification_iterator *input_
iterator;
+
bt_self_component_port_input_message_iterator *
iterator;
FILE *out, *err;
int depth; /* nesting, used for tabulation alignment. */
bool start_line;
GString *string;
GString *tmp_string;
FILE *out, *err;
int depth; /* nesting, used for tabulation alignment. */
bool start_line;
GString *string;
GString *tmp_string;
-
struct bt_value *plugin_opt_map;
/* Temporary parameter map. */
+
bt_value *plugin_opt_map;
/* Temporary parameter map. */
bool use_colors;
uint64_t last_cycles_timestamp;
bool use_colors;
uint64_t last_cycles_timestamp;
@@
-106,29
+104,28
@@
extern
GQuark stream_packet_context_quarks[STREAM_PACKET_CONTEXT_QUARKS_LEN];
BT_HIDDEN
GQuark stream_packet_context_quarks[STREAM_PACKET_CONTEXT_QUARKS_LEN];
BT_HIDDEN
-
enum bt
_component_status pretty_init(
-
struct bt_private_component
*component,
-
struc
t bt_value *params,
+
bt_self
_component_status pretty_init(
+
bt_self_component_sink
*component,
+
cons
t bt_value *params,
void *init_method_data);
BT_HIDDEN
void *init_method_data);
BT_HIDDEN
-enum bt_component_status pretty_consume(struct bt_private_component *component);
+bt_self_component_status pretty_consume(
+ bt_self_component_sink *component);
BT_HIDDEN
BT_HIDDEN
-enum bt_component_status pretty_port_connected(
- struct bt_private_component *component,
- struct bt_private_port *self_port,
- struct bt_port *other_port);
+bt_self_component_status pretty_graph_is_configured(
+ bt_self_component_sink *component);
BT_HIDDEN
BT_HIDDEN
-void pretty_finalize(
struct bt_private_component
*component);
+void pretty_finalize(
bt_self_component_sink
*component);
BT_HIDDEN
BT_HIDDEN
-
enum bt_component_status
pretty_print_event(struct pretty_component *pretty,
-
struct bt_notification *event_notif
);
+
int
pretty_print_event(struct pretty_component *pretty,
+
const bt_message *event_msg
);
BT_HIDDEN
BT_HIDDEN
-
enum bt_component_status pretty_print_packet
(struct pretty_component *pretty,
-
struct bt_notification *packet_beginning_notif
);
+
int pretty_print_discarded_items
(struct pretty_component *pretty,
+
const bt_message *msg
);
#endif /* BABELTRACE_PLUGIN_TEXT_PRETTY_PRETTY_H */
#endif /* BABELTRACE_PLUGIN_TEXT_PRETTY_PRETTY_H */
This page took
0.025004 seconds
and
4
git commands to generate.