Signed-off-by: David Goulet <dgoulet@efficios.com>
enum lttng_event_field_type type;
char padding[LTTNG_EVENT_FIELD_PADDING];
struct lttng_event event;
+ int written;
};
/*
memcpy(tmp[count].field_name, uiter.field_name, LTTNG_UST_SYM_NAME_LEN);
tmp[count].type = uiter.type;
+ tmp[count].written = uiter.written;
memcpy(tmp[count].event.name, uiter.event_name, LTTNG_UST_SYM_NAME_LEN);
tmp[count].event.loglevel = uiter.loglevel;
if (!field->field_name[0]) {
return;
}
- MSG("%sfield: %s (%s)", indent8, field->field_name,
- field_type(field));
+ MSG("%sfield: %s (%s)%s", indent8, field->field_name,
+ field_type(field), field->written ? "" : " [no write]");
}
/*