projects
/
deliverable
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: use extern for variables instead of BT_HIDDEN
[deliverable/babeltrace.git]
/
plugins
/
text
/
pretty
/
pretty.c
diff --git
a/plugins/text/pretty/pretty.c
b/plugins/text/pretty/pretty.c
index e8f89d3a38ee2d2901b3427a14507c1df197c776..4ac6ad6d5c20c5558483d3e5540019313e36c67b 100644
(file)
--- a/
plugins/text/pretty/pretty.c
+++ b/
plugins/text/pretty/pretty.c
@@
-50,6
+50,8
@@
#include "pretty.h"
#include "pretty.h"
+GQuark stream_packet_context_quarks[STREAM_PACKET_CONTEXT_QUARKS_LEN];
+
static
const char *plugin_options[] = {
"color",
static
const char *plugin_options[] = {
"color",
@@
-154,6
+156,10
@@
enum bt_component_status handle_notification(struct pretty_component *pretty,
case BT_NOTIFICATION_TYPE_STREAM_BEGIN:
case BT_NOTIFICATION_TYPE_STREAM_END:
break;
case BT_NOTIFICATION_TYPE_STREAM_BEGIN:
case BT_NOTIFICATION_TYPE_STREAM_END:
break;
+ case BT_NOTIFICATION_TYPE_DISCARDED_PACKETS:
+ case BT_NOTIFICATION_TYPE_DISCARDED_EVENTS:
+ ret = pretty_print_discarded_elements(pretty, notification);
+ break;
default:
fprintf(stderr, "Unhandled notification type\n");
}
default:
fprintf(stderr, "Unhandled notification type\n");
}
@@
-172,6
+178,8
@@
void pretty_port_connected(
struct pretty_component *pretty;
static const enum bt_notification_type notif_types[] = {
BT_NOTIFICATION_TYPE_EVENT,
struct pretty_component *pretty;
static const enum bt_notification_type notif_types[] = {
BT_NOTIFICATION_TYPE_EVENT,
+ BT_NOTIFICATION_TYPE_DISCARDED_PACKETS,
+ BT_NOTIFICATION_TYPE_DISCARDED_EVENTS,
BT_NOTIFICATION_TYPE_SENTINEL,
};
BT_NOTIFICATION_TYPE_SENTINEL,
};
This page took
0.033287 seconds
and
5
git commands to generate.