Lines Matching refs:field
104 static void define_symbolic_values(struct tep_print_flag_sym *field, in define_symbolic_values() argument
108 define_symbolic_value(ev_name, field_name, field->value, field->str); in define_symbolic_values()
109 if (field->next) in define_symbolic_values()
110 define_symbolic_values(field->next, ev_name, field_name); in define_symbolic_values()
162 static void define_flag_values(struct tep_print_flag_sym *field, in define_flag_values() argument
166 define_flag_value(ev_name, field_name, field->value, field->str); in define_flag_values()
167 if (field->next) in define_flag_values()
168 define_flag_values(field->next, ev_name, field_name); in define_flag_values()
211 cur_field_name = strdup(args->field.name); in define_event_symbols()
214 define_event_symbols(event, ev_name, args->flags.field); in define_event_symbols()
219 define_event_symbols(event, ev_name, args->symbol.field); in define_event_symbols()
226 define_event_symbols(event, ev_name, args->hex.field); in define_event_symbols()
230 define_event_symbols(event, ev_name, args->int_array.field); in define_event_symbols()
344 struct tep_format_field *field; in perl_process_tracepoint() local
392 for (field = event->format.fields; field; field = field->next) { in perl_process_tracepoint()
393 if (field->flags & TEP_FIELD_IS_STRING) { in perl_process_tracepoint()
395 if (field->flags & TEP_FIELD_IS_DYNAMIC) { in perl_process_tracepoint()
396 offset = *(int *)(data + field->offset); in perl_process_tracepoint()
399 offset = field->offset; in perl_process_tracepoint()
402 val = read_size(event, data + field->offset, in perl_process_tracepoint()
403 field->size); in perl_process_tracepoint()
404 if (field->flags & TEP_FIELD_IS_SIGNED) { in perl_process_tracepoint()