}
event->context = container_of(definition,
struct definition_struct, p);
- parent_def_scope = event->context->scope;
+ parent_def_scope = event->context->p.scope;
}
if (event->fields_decl) {
struct definition *definition =
}
event->fields = container_of(definition,
struct definition_struct, p);
- parent_def_scope = event->fields->scope;
+ parent_def_scope = event->fields->p.scope;
}
return 0;
}
stream->packet_context = container_of(definition,
struct definition_struct, p);
- parent_def_scope = stream->packet_context->scope;
+ parent_def_scope = stream->packet_context->p.scope;
}
if (stream->event_header_decl) {
struct definition *definition =
}
stream->event_header =
container_of(definition, struct definition_struct, p);
- parent_def_scope = stream->event_header->scope;
+ parent_def_scope = stream->event_header->p.scope;
}
if (stream->event_context_decl) {
struct definition *definition =
}
stream->event_context =
container_of(definition, struct definition_struct, p);
- parent_def_scope = stream->event_context->scope;
+ parent_def_scope = stream->event_context->p.scope;
}
stream->definition_scope = parent_def_scope;
}
trace->packet_header =
container_of(definition, struct definition_struct, p);
- parent_def_scope = trace->packet_header->scope;
+ parent_def_scope = trace->packet_header->p.scope;
}
trace->definition_scope = parent_def_scope;