• Home
  • Raw
  • Download

Lines Matching refs:field

1990 	struct tep_format_field *field;  member
1999 int namelen = strlen(hde->field->name); in hde_width()
2000 int fieldlen = hde->field->size; in hde_width()
2005 if (!(hde->field->flags & TEP_FIELD_IS_STRING)) { in hde_width()
2007 fieldlen = hde->field->size * 2 + 2; in hde_width()
2021 struct tep_format_field *field = hde->field; in update_dynamic_len() local
2032 namelen = strlen(field->name); in update_dynamic_len()
2042 if (!strncmp(str, field->name, namelen)) { in update_dynamic_len()
2073 return scnprintf(hpp->buf, hpp->size, "%*.*s", len, len, hde->field->name); in __sort__hde_header()
2106 struct tep_format_field *field; in __sort__hde_entry() local
2122 field = hde->field; in __sort__hde_entry()
2123 namelen = strlen(field->name); in __sort__hde_entry()
2133 if (!strncmp(str, field->name, namelen)) { in __sort__hde_entry()
2153 tep_print_field(&seq, he->raw_data, hde->field); in __sort__hde_entry()
2166 struct tep_format_field *field; in __sort__hde_cmp() local
2176 field = hde->field; in __sort__hde_cmp()
2177 if (field->flags & TEP_FIELD_IS_DYNAMIC) { in __sort__hde_cmp()
2180 tep_read_number_field(field, a->raw_data, &dyn); in __sort__hde_cmp()
2188 offset = field->offset; in __sort__hde_cmp()
2189 size = field->size; in __sort__hde_cmp()
2211 return hde_a->field == hde_b->field; in __sort__hde_equal()
2223 __alloc_dynamic_entry(struct evsel *evsel, struct tep_format_field *field, in __alloc_dynamic_entry() argument
2235 hde->field = field; in __alloc_dynamic_entry()
2238 hde->hpp.name = field->name; in __alloc_dynamic_entry()
2288 static int parse_field_name(char *str, char **event, char **field, char **opt) in parse_field_name() argument
2307 *field = field_name; in parse_field_name()
2358 struct tep_format_field *field, in __dynamic_dimension__add() argument
2363 hde = __alloc_dynamic_entry(evsel, field, level); in __dynamic_dimension__add()
2376 struct tep_format_field *field; in add_evsel_fields() local
2378 field = evsel->tp_format->format.fields; in add_evsel_fields()
2379 while (field) { in add_evsel_fields()
2380 ret = __dynamic_dimension__add(evsel, field, raw_trace, level); in add_evsel_fields()
2384 field = field->next; in add_evsel_fields()
2411 struct tep_format_field *field; in add_all_matching_fields() local
2417 field = tep_find_any_field(evsel->tp_format, field_name); in add_all_matching_fields()
2418 if (field == NULL) in add_all_matching_fields()
2421 ret = __dynamic_dimension__add(evsel, field, raw_trace, level); in add_all_matching_fields()
2433 struct tep_format_field *field; in add_dynamic_entry() local
2484 field = tep_find_any_field(evsel->tp_format, field_name); in add_dynamic_entry()
2485 if (field == NULL) { in add_dynamic_entry()
2491 ret = __dynamic_dimension__add(evsel, field, raw_trace, level); in add_dynamic_entry()