- const struct lttng_buffer_view evaluation_view =
- lttng_buffer_view_from_view(src_view,
- sizeof(*evaluation_comm), -1);
+ struct lttng_payload_view evaluation_comm_view =
+ lttng_payload_view_from_view(
+ src_view, 0, sizeof(*evaluation_comm));
+ struct lttng_payload_view evaluation_view =
+ lttng_payload_view_from_view(src_view,
+ sizeof(*evaluation_comm), -1);