ret = -EPERM;
goto error;
} else {
- CTF_TRACE_SET_FIELD(trace, byte_order);
if (byte_order != trace->byte_order) {
trace->byte_order = byte_order;
/*
return -EINTR;
}
}
+ CTF_TRACE_SET_FIELD(trace, byte_order);
} else if (!strcmp(left, "packet.header")) {
struct declaration *declaration;
free_declaration_scope(trace->declaration_scope);
trace->declaration_scope = NULL;
/* byte order changed while creating types, retry. */
- if (ret == -EINTR)
+ if (ret == -EINTR) {
+ trace->field_mask = 0;
goto restart;
+ }
return ret;
}