projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ctf.fs: split streams, one per port
[babeltrace.git]
/
plugins
/
ctf
/
fs
/
metadata.c
diff --git
a/plugins/ctf/fs/metadata.c
b/plugins/ctf/fs/metadata.c
index e531056c91fadb2769d2ba0483e8cfbb4464f3ba..063ebe56c7d74a77f765b6589d61b5a491573db1 100644
(file)
--- a/
plugins/ctf/fs/metadata.c
+++ b/
plugins/ctf/fs/metadata.c
@@
-313,7
+313,7
@@
end:
return ret;
}
return ret;
}
-
void
ctf_fs_metadata_set_trace(struct ctf_fs_component *ctf_fs)
+
int
ctf_fs_metadata_set_trace(struct ctf_fs_component *ctf_fs)
{
int ret = 0;
struct ctf_fs_file *file = get_file(ctf_fs, ctf_fs->trace_path->str);
{
int ret = 0;
struct ctf_fs_file *file = get_file(ctf_fs, ctf_fs->trace_path->str);
@@
-412,6
+412,8
@@
error:
ctf_fs->metadata->text = NULL;
}
ctf_fs->metadata->text = NULL;
}
+ ret = -1;
+
end:
if (file) {
ctf_fs_file_destroy(file);
end:
if (file) {
ctf_fs_file_destroy(file);
@@
-420,6
+422,8
@@
end:
if (scanner) {
ctf_scanner_free(scanner);
}
if (scanner) {
ctf_scanner_free(scanner);
}
+
+ return ret;
}
int ctf_fs_metadata_init(struct ctf_fs_metadata *metadata)
}
int ctf_fs_metadata_init(struct ctf_fs_metadata *metadata)
This page took
0.023705 seconds
and
4
git commands to generate.