+ struct lttng_channel *chan)
+{
+ pid_t vtid = wrapper_getvtid();
+
+ lib_ring_buffer_align_ctx(ctx, lttng_alignof(vtid));
+ chan->ops->event_write(ctx, &vtid, sizeof(vtid));
+}
+
+static
+void vtid_get_value(struct lttng_ctx_field *field,
+ struct lttng_ctx_value *value)