Lines Matching refs:record
417 * We are searching for a record in between, not an exact
464 * Add a special record at the end.
5747 char *format, struct tep_record *record)
5760 void *data = record->data;
5832 * @rec: the record to read from
5842 * tep_data_pid - parse the PID from record
5844 * @rec: the record to parse
5846 * This returns the PID from a record.
5854 * tep_data_preempt_count - parse the preempt count from the record
5856 * @rec: the record to parse
5858 * This returns the preempt count from a record.
5866 * tep_data_flags - parse the latency flags from the record
5868 * @rec: the record to parse
5870 * This returns the latency flags from a record.
5991 struct tep_event *event, struct tep_record *record)
5996 tep_print_fields(s, record->data, record->size, event);
6000 print_pretty = event->handler(s, record, event,
6004 pretty_print(s, record->data, record->size, event);
6011 * tep_find_event_by_record - return the event from a given record
6013 * @record: The record to get the event from
6015 * Returns the associated event for a given record, or NULL if non is
6019 tep_find_event_by_record(struct tep_handle *tep, struct tep_record *record)
6023 if (record->size < 0) {
6024 do_warning("ug! negative record size %d", record->size);
6028 type = trace_parse_common_type(tep, record->data);
6034 * Writes the timestamp of the record into @s. Time divisor and precision can be
6042 struct tep_record *record)
6055 time = record->ts;
6080 struct tep_record *record, struct tep_event *event,
6087 data_latency_format(tep, s, type->format, record);
6089 pid = parse_common_pid(tep, record->data);
6093 print_event_info(s, type->format, true, event, record);
6095 print_event_info(s, type->format, false, event, record);
6105 struct tep_record *record, struct tep_event *event,
6112 param = record->cpu;
6115 param = parse_common_pid(tep, record->data);
6118 return print_event_time(tep, s, type->format, event, record);
6160 * @record: The record to get the event from
6179 struct tep_record *record, const char *fmt, ...)
6192 event = tep_find_event_by_record(tep, record);
6207 print_string(tep, s, record, event,
6211 print_int(tep, s, record, event,
6928 const char *name, struct tep_record *record,
6937 if (tep_read_number_field(field, record->data, val)) {
6951 * @record: The record with the field name.
6955 * Returns a pointer into record->data of the field and places
6961 const char *name, struct tep_record *record,
6965 void *data = record->data;
7001 * @record: The record with the field name.
7008 const char *name, struct tep_record *record,
7018 return get_field_val(s, field, name, record, val, err);
7026 * @record: The record with the field name.
7033 const char *name, struct tep_record *record,
7043 return get_field_val(s, field, name, record, val, err);
7051 * @record: The record with the field name.
7058 const char *name, struct tep_record *record,
7068 return get_field_val(s, field, name, record, val, err);
7077 * @record: The record with the field name.
7085 struct tep_record *record, int err)
7093 if (tep_read_number_field(field, record->data, &val))
7110 * @record: The record with the field name.
7118 struct tep_record *record, int err)
7129 if (tep_read_number_field(field, record->data, &val))