projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: protected -> hidden: cleanup symbol table
[babeltrace.git]
/
lib
/
trace-collection.c
diff --git
a/lib/trace-collection.c
b/lib/trace-collection.c
index 42d809623d419d22d2df194fe88e45c92ae6592b..c117874812bfebf28110ee8d9c3013ac16402831 100644
(file)
--- a/
lib/trace-collection.c
+++ b/
lib/trace-collection.c
@@
-132,7
+132,8
@@
static void clock_add(gpointer key, gpointer value, gpointer user_data)
/*
* Whenever we add a trace to the trace collection, check that we can
/*
* Whenever we add a trace to the trace collection, check that we can
- * correlate this trace with at least one other clock in the trace.
+ * correlate this trace with at least one other clock in the trace and
+ * convert the index from cycles to real time.
*/
int trace_collection_add(struct trace_collection *tc,
struct trace_descriptor *td)
*/
int trace_collection_add(struct trace_collection *tc,
struct trace_descriptor *td)
@@
-177,6
+178,7
@@
int trace_collection_add(struct trace_collection *tc,
clock_add,
&clock_match);
}
clock_add,
&clock_match);
}
+
return 0;
error:
return -EPERM;
return 0;
error:
return -EPERM;
This page took
0.023917 seconds
and
4
git commands to generate.