projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes in babeltrace core to support non-CTF traces
[babeltrace.git]
/
lib
/
trace-collection.c
diff --git
a/lib/trace-collection.c
b/lib/trace-collection.c
index b854c97440422b009ce12111d54f136f94431515..fa1497acbfc34897924b3e58fafda0a59c0cb6e9 100644
(file)
--- a/
lib/trace-collection.c
+++ b/
lib/trace-collection.c
@@
-161,6
+161,9
@@
int bt_trace_collection_add(struct trace_collection *tc,
if (!tc || !trace)
return -EINVAL;
if (!tc || !trace)
return -EINVAL;
+ if (!trace->clocks)
+ return 0;
+
if (tc->array->len > 1) {
struct clock_match clock_match = {
.clocks = tc->clocks,
if (tc->array->len > 1) {
struct clock_match clock_match = {
.clocks = tc->clocks,
This page took
0.024709 seconds
and
4
git commands to generate.