projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add structure size field to struct lttng_event
[lttng-ust.git]
/
liblttng-ust
/
lttng-events.c
diff --git
a/liblttng-ust/lttng-events.c
b/liblttng-ust/lttng-events.c
index b024c4cf327603a59c105b9aaf090dc65b48e608..d29a6c712c7c1a5baf349f24a8d853542ffc2879 100644
(file)
--- a/
liblttng-ust/lttng-events.c
+++ b/
liblttng-ust/lttng-events.c
@@
-784,6
+784,7
@@
int lttng_event_create(const struct lttng_event_desc *desc,
ret = -ENOMEM;
goto cache_error;
}
+ event->struct_size = sizeof(struct lttng_event);
event_priv = zmalloc(sizeof(struct lttng_ust_event_private));
if (!event_priv) {
ret = -ENOMEM;
This page took
0.022954 seconds
and
4
git commands to generate.