- }
- field->event_field.name = "nice";
- field->event_field.type.type = lttng_kernel_type_integer;
- field->event_field.type.u.integer.size = sizeof(int) * CHAR_BIT;
- field->event_field.type.u.integer.alignment = lttng_alignof(int) * CHAR_BIT;
- field->event_field.type.u.integer.signedness = lttng_is_signed_type(int);
- field->event_field.type.u.integer.reverse_byte_order = 0;
- field->event_field.type.u.integer.base = 10;
- field->event_field.type.u.integer.encoding = lttng_kernel_string_encoding_none;
- field->get_size = nice_get_size;
- field->record = nice_record;
- field->get_value = nice_get_value;
- lttng_context_update(*ctx);