projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ir: allow the creation of an empty clock (nameless)
[babeltrace.git]
/
formats
/
ctf
/
ir
/
trace.c
diff --git
a/formats/ctf/ir/trace.c
b/formats/ctf/ir/trace.c
index 8ead3792785c82355b41fcf59d801dfed15b13c6..4476c8f057baa257775622ed72a7a139d848298f 100644
(file)
--- a/
formats/ctf/ir/trace.c
+++ b/
formats/ctf/ir/trace.c
@@
-353,7
+353,7
@@
int bt_ctf_trace_add_clock(struct bt_ctf_trace *trace,
int ret = 0;
struct search_query query = { .value = clock, .found = 0 };
- if (!trace || !
clock
) {
+ if (!trace || !
bt_ctf_clock_is_valid(clock)
) {
ret = -1;
goto end;
}
This page took
0.023812 seconds
and
4
git commands to generate.