- /* Create buffer view for the action-type-specific data. */
- specific_action_view = lttng_buffer_view_from_view(view,
- sizeof(struct lttng_action_comm),
- view->size - sizeof(struct lttng_action_comm));
+ {
+ /* Create buffer view for the action-type-specific data. */
+ struct lttng_payload_view specific_action_view =
+ lttng_payload_view_from_view(view,
+ sizeof(struct lttng_action_comm),
+ -1);