projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Subscribe to notifications when creating a notif. iterator
[babeltrace.git]
/
plugins
/
text
/
pretty
/
pretty.c
diff --git
a/plugins/text/pretty/pretty.c
b/plugins/text/pretty/pretty.c
index cea5fe688f080511e9b5c63903f020864380f86c..043ba4fc5d265a5123a269fdedc6a81b0fc4a9cb 100644
(file)
--- a/
plugins/text/pretty/pretty.c
+++ b/
plugins/text/pretty/pretty.c
@@
-145,6
+145,10
@@
void pretty_port_connected(
{
struct bt_private_connection *connection;
struct pretty_component *pretty;
{
struct bt_private_connection *connection;
struct pretty_component *pretty;
+ static const enum bt_notification_type notif_types[] = {
+ BT_NOTIFICATION_TYPE_EVENT,
+ BT_NOTIFICATION_TYPE_SENTINEL,
+ };
pretty = bt_private_component_get_user_data(component);
assert(pretty);
pretty = bt_private_component_get_user_data(component);
assert(pretty);
@@
-152,7
+156,8
@@
void pretty_port_connected(
connection = bt_private_port_get_private_connection(self_port);
assert(connection);
pretty->input_iterator =
connection = bt_private_port_get_private_connection(self_port);
assert(connection);
pretty->input_iterator =
- bt_private_connection_create_notification_iterator(connection);
+ bt_private_connection_create_notification_iterator(connection,
+ notif_types);
if (!pretty->input_iterator) {
pretty->error = true;
if (!pretty->input_iterator) {
pretty->error = true;
This page took
0.041127 seconds
and
4
git commands to generate.