projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup: relayd: centralize thread stopping function
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
trace-kernel.c
diff --git
a/src/bin/lttng-sessiond/trace-kernel.c
b/src/bin/lttng-sessiond/trace-kernel.c
index 8e074fd91b0dcbe829f8c053d32ac6e92766d32c..1069d1f8fcb2e6f23b0d81df6c0d8c243f4c4f5e 100644
(file)
--- a/
src/bin/lttng-sessiond/trace-kernel.c
+++ b/
src/bin/lttng-sessiond/trace-kernel.c
@@
-16,6
+16,7
@@
*/
#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@
-196,6
+197,8
@@
struct ltt_kernel_context *trace_kernel_create_context(
memcpy(&kctx->ctx, ctx, sizeof(kctx->ctx));
}
+ CDS_INIT_LIST_HEAD(&kctx->list);
+
error:
return kctx;
}
This page took
0.032722 seconds
and
4
git commands to generate.