projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
newer get_trace_clock may fail on arm
[lttng-modules.git]
/
ltt-tracer.c
diff --git
a/ltt-tracer.c
b/ltt-tracer.c
index 8eae966e386bb6e6f8cb9a09e5b291bb0d341e5d..24a3a92e853938b7e10e9ee643b0412698ee0b2b 100644
(file)
--- a/
ltt-tracer.c
+++ b/
ltt-tracer.c
@@
-782,7
+782,9
@@
int ltt_trace_alloc(const char *trace_name)
kref_init(&trace->kref);
init_waitqueue_head(&trace->kref_wq);
trace->active = 0;
- get_trace_clock();
+ err = get_trace_clock();
+ if (err)
+ goto traces_error;
trace->freq_scale = trace_clock_freq_scale();
if (!trace->transport) {
This page took
0.024005 seconds
and
4
git commands to generate.