The "written" field of the lttng_event_field and lttng_ust_field_iter
structures has been renamed to "nowrite" in the upstream version of
lttng-ust.
Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
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;
+ int nowrite;
};
/*
char field_name[LTTNG_UST_SYM_NAME_LEN];
enum lttng_ust_field_type type;
int loglevel; /* event loglevel */
- int written;
+ int nowrite;
char padding[LTTNG_UST_FIELD_ITER_PADDING];
};
memcpy(tmp[count].field_name, uiter.field_name, LTTNG_UST_SYM_NAME_LEN);
tmp[count].type = uiter.type;
- tmp[count].written = uiter.written;
+ tmp[count].nowrite = uiter.nowrite;
memcpy(tmp[count].event.name, uiter.event_name, LTTNG_UST_SYM_NAME_LEN);
tmp[count].event.loglevel = uiter.loglevel;
return;
}
MSG("%sfield: %s (%s)%s", indent8, field->field_name,
- field_type(field), field->written ? "" : " [no write]");
+ field_type(field), field->nowrite ? "" : " [no write]");
}
/*