projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simulate buffer usage in notification thread
[lttng-tools.git]
/
src
/
common
/
condition.c
diff --git
a/src/common/condition.c
b/src/common/condition.c
index 5c3c11c237570d3039feb1a01ca3464cb1ef66f1..4a24202fed6f851e309344471e3664d599045f42 100644
(file)
--- a/
src/common/condition.c
+++ b/
src/common/condition.c
@@
-131,3
+131,11
@@
ssize_t lttng_condition_create_from_buffer(const char *buf,
end:
return ret;
}
+
+LTTNG_HIDDEN
+void lttng_condition_init(struct lttng_condition *condition,
+ enum lttng_condition_type type)
+{
+ condition->type = type;
+ CDS_INIT_LIST_HEAD(&condition->list_node);
+}
This page took
0.036191 seconds
and
5
git commands to generate.