projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: text output missing separator when printing the domain
[babeltrace.git]
/
formats
/
ctf-text
/
ctf-text.c
diff --git
a/formats/ctf-text/ctf-text.c
b/formats/ctf-text/ctf-text.c
index f6151617450c760e2e9fe354aa64c497e39d6a54..69450cf5f13fe009745be245e6a4975f8401ea2a 100644
(file)
--- a/
formats/ctf-text/ctf-text.c
+++ b/
formats/ctf-text/ctf-text.c
@@
-350,6
+350,8
@@
int ctf_text_write_event(struct bt_stream_pos *ppos, struct ctf_stream_definitio
set_field_names_print(pos, ITEM_HEADER);
if (pos->print_names) {
fprintf(pos->fp, "trace:domain = ");
+ } else if (dom_print) {
+ fprintf(pos->fp, ":");
}
fprintf(pos->fp, "%s", stream_class->trace->env.domain);
if (pos->print_names)
This page took
0.022548 seconds
and
4
git commands to generate.