projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Docs: add comment about bt_ctf_trace_add_stream_class validation
[babeltrace.git]
/
formats
/
ctf
/
ir
/
trace.c
diff --git
a/formats/ctf/ir/trace.c
b/formats/ctf/ir/trace.c
index 5abfcc79c7ef197db758c781e6c4180a28b28776..0943e8f97c123aed0c1315ce5a9d579415d6ca16 100644
(file)
--- a/
formats/ctf/ir/trace.c
+++ b/
formats/ctf/ir/trace.c
@@
-443,6
+443,7
@@
int bt_ctf_trace_add_stream_class(struct bt_ctf_trace *trace,
for (i = 0; i < trace->stream_classes->len; i++) {
if (trace->stream_classes->pdata[i] == stream_class) {
for (i = 0; i < trace->stream_classes->len; i++) {
if (trace->stream_classes->pdata[i] == stream_class) {
+ /* Stream already registered to the trace */
ret = -1;
goto end;
}
ret = -1;
goto end;
}
This page took
0.026126 seconds
and
4
git commands to generate.