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
/
common
/
src
/
metadata
/
tsdl
/
decoder.hpp
diff --git
a/src/plugins/ctf/common/src/metadata/tsdl/decoder.hpp
b/src/plugins/ctf/common/src/metadata/tsdl/decoder.hpp
index d4385f4cbbd8a17ba860e3eb95d378b074e9529e..7bb650ca80f7bd33db23956247b9ea13dffe982f 100644
(file)
--- a/
src/plugins/ctf/common/src/metadata/tsdl/decoder.hpp
+++ b/
src/plugins/ctf/common/src/metadata/tsdl/decoder.hpp
@@
-29,28
+29,28
@@
enum ctf_metadata_decoder_status
struct ctf_metadata_decoder_config
{
/* Active log level to use */
struct ctf_metadata_decoder_config
{
/* Active log level to use */
- bt_logging_level log_level;
+ bt_logging_level log_level
= (bt_logging_level) 0
;
/*
* Component or component class to use for logging (exactly one of
* them must be non-`NULL`); weak
*/
/*
* Component or component class to use for logging (exactly one of
* them must be non-`NULL`); weak
*/
- bt_self_component *self_comp;
- bt_self_component_class *self_comp_class;
+ bt_self_component *self_comp
= nullptr
;
+ bt_self_component_class *self_comp_class
= nullptr
;
/* Additional clock class offset to apply */
/* Additional clock class offset to apply */
- int64_t clock_class_offset_s;
- int64_t clock_class_offset_ns;
- bool force_clock_class_origin_unix_epoch;
+ int64_t clock_class_offset_s
= 0
;
+ int64_t clock_class_offset_ns
= 0
;
+ bool force_clock_class_origin_unix_epoch
= false
;
/* True to create trace class objects */
/* True to create trace class objects */
- bool create_trace_class;
+ bool create_trace_class
= false
;
/*
* True to keep the plain text when content is appended with
* ctf_metadata_decoder_append_content().
*/
/*
* True to keep the plain text when content is appended with
* ctf_metadata_decoder_append_content().
*/
- bool keep_plain_text;
+ bool keep_plain_text
= false
;
};
/*
};
/*
This page took
0.024623 seconds
and
4
git commands to generate.