- struct lttng_trigger *trigger;
- const struct lttng_action *target_action;
- ssize_t trigger_used_size;
- struct lttng_error_query_action_comm *action_header;
-
- {
- struct lttng_payload_view action_header_view =
- lttng_payload_view_from_view(view,
- used_size,
- sizeof(*action_header));
-
- if (!lttng_payload_view_is_valid(&action_header_view)) {
- used_size = -1;
- goto end;
- }
-
- action_header = (typeof(action_header)) action_header_view.buffer.data;
- used_size += sizeof(*action_header);
- }