projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SoW-2019-0007-2: Dynamic Snapshot: Triggers send partial event payload with notifications
[lttng-tools.git]
/
src
/
common
/
notification.c
diff --git
a/src/common/notification.c
b/src/common/notification.c
index 6b32bd9ac70de71e1203c538933d45a53aaa081e..5a50e1584ab417f97e6c48eeeacb85826009136e 100644
(file)
--- a/
src/common/notification.c
+++ b/
src/common/notification.c
@@
-51,8
+51,7
@@
int lttng_notification_serialize(const struct lttng_notification *notification,
}
size_before_payload = buf->size;
}
size_before_payload = buf->size;
- ret = lttng_condition_serialize(notification->condition,
- buf);
+ ret = lttng_condition_serialize(notification->condition, buf, NULL);
if (ret) {
goto end;
}
if (ret) {
goto end;
}
@@
-105,8
+104,8
@@
ssize_t lttng_notification_create_from_buffer(
/* struct lttng_evaluation */
evaluation_view = lttng_buffer_view_from_view(&condition_view,
condition_size, -1);
/* struct lttng_evaluation */
evaluation_view = lttng_buffer_view_from_view(&condition_view,
condition_size, -1);
- evaluation_size = lttng_evaluation_create_from_buffer(
&evaluation_view
,
- &evaluation);
+ evaluation_size = lttng_evaluation_create_from_buffer(
condition
,
+ &evaluation
_view, &evaluation
);
if (evaluation_size < 0) {
ret = evaluation_size;
goto end;
if (evaluation_size < 0) {
ret = evaluation_size;
goto end;
This page took
0.024701 seconds
and
5
git commands to generate.