Lines Matching refs:field
231 struct tep_print_flag_sym *field, in define_values() argument
235 define_value(field_type, ev_name, field_name, field->value, in define_values()
236 field->str); in define_values()
238 if (field->next) in define_values()
239 define_values(field_type, field->next, ev_name, field_name); in define_values()
288 cur_field_name = strdup(args->field.name); in define_event_symbols()
291 define_event_symbols(event, ev_name, args->flags.field); in define_event_symbols()
298 define_event_symbols(event, ev_name, args->symbol.field); in define_event_symbols()
305 define_event_symbols(event, ev_name, args->hex.field); in define_event_symbols()
309 define_event_symbols(event, ev_name, args->int_array.field); in define_event_symbols()
340 struct tep_format_field *field, void *data) in get_field_numeric_entry() argument
342 bool is_array = field->flags & TEP_FIELD_IS_ARRAY; in get_field_numeric_entry()
348 list = PyList_New(field->arraylen); in get_field_numeric_entry()
349 item_size = field->size / field->arraylen; in get_field_numeric_entry()
350 n_items = field->arraylen; in get_field_numeric_entry()
352 item_size = field->size; in get_field_numeric_entry()
358 val = read_size(event, data + field->offset + i * item_size, in get_field_numeric_entry()
360 if (field->flags & TEP_FIELD_IS_SIGNED) { in get_field_numeric_entry()
800 struct tep_format_field *field; in python_process_tracepoint() local
869 for (field = event->format.fields; field; field = field->next) { in python_process_tracepoint()
873 if (field->flags & TEP_FIELD_IS_ARRAY) { in python_process_tracepoint()
874 offset = field->offset; in python_process_tracepoint()
875 len = field->size; in python_process_tracepoint()
876 if (field->flags & TEP_FIELD_IS_DYNAMIC) { in python_process_tracepoint()
883 if (field->flags & TEP_FIELD_IS_STRING && in python_process_tracepoint()
888 field->flags &= ~TEP_FIELD_IS_STRING; in python_process_tracepoint()
891 obj = get_field_numeric_entry(event, field, data); in python_process_tracepoint()
896 pydict_set_item_string_decref(dict, field->name, obj); in python_process_tracepoint()