projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ctf: allocate some structures with new
[babeltrace.git]
/
src
/
plugins
/
ctf
/
lttng-live
/
viewer-connection.hpp
diff --git
a/src/plugins/ctf/lttng-live/viewer-connection.hpp
b/src/plugins/ctf/lttng-live/viewer-connection.hpp
index 67e71e0c3770cb925fffa13e6f399c3afd8fbe27..4e17d506ca538173d685a7d444fae157d0c1f438 100644
(file)
--- a/
src/plugins/ctf/lttng-live/viewer-connection.hpp
+++ b/
src/plugins/ctf/lttng-live/viewer-connection.hpp
@@
-46,25
+46,25
@@
enum lttng_live_get_one_metadata_status
struct live_viewer_connection
{
struct live_viewer_connection
{
- bt_logging_level log_level;
- bt_self_component *self_comp;
- bt_self_component_class *self_comp_class;
+ bt_logging_level log_level
= (bt_logging_level) 0
;
+ bt_self_component *self_comp
= nullptr
;
+ bt_self_component_class *self_comp_class
= nullptr
;
- GString *url;
+ GString *url
= nullptr
;
- GString *relay_hostname;
- GString *target_hostname;
- GString *session_name;
- GString *proto;
+ GString *relay_hostname
= nullptr
;
+ GString *target_hostname
= nullptr
;
+ GString *session_name
= nullptr
;
+ GString *proto
= nullptr
;
- BT_SOCKET control_sock;
- int port;
+ BT_SOCKET control_sock
{}
;
+ int port
= 0
;
- int32_t major;
- int32_t minor;
+ int32_t major
= 0
;
+ int32_t minor
= 0
;
- bool in_query;
- struct lttng_live_msg_iter *lttng_live_msg_iter;
+ bool in_query
= false
;
+ struct lttng_live_msg_iter *lttng_live_msg_iter
= nullptr
;
};
struct packet_index_time
};
struct packet_index_time
This page took
0.022622 seconds
and
4
git commands to generate.