Lines Matching full:field
29 struct bputs_entry *field; in trace_print_bputs_msg_only() local
31 trace_assign_type(field, entry); in trace_print_bputs_msg_only()
33 trace_seq_puts(s, field->str); in trace_print_bputs_msg_only()
42 struct bprint_entry *field; in trace_print_bprintk_msg_only() local
44 trace_assign_type(field, entry); in trace_print_bprintk_msg_only()
46 trace_seq_bprintf(s, field->fmt, field->buf); in trace_print_bprintk_msg_only()
55 struct print_entry *field; in trace_print_printk_msg_only() local
57 trace_assign_type(field, entry); in trace_print_printk_msg_only()
59 trace_seq_puts(s, field->buf); in trace_print_printk_msg_only()
443 * @entry: The trace entry field from the ring buffer
830 struct ftrace_event_field *field) in print_array() argument
839 if (field) in print_array()
840 offset += field->offset + sizeof(int); in print_array()
859 struct ftrace_event_field *field; in print_fields() local
865 list_for_each_entry_reverse(field, head, link) { in print_fields()
866 trace_seq_printf(&iter->seq, " %s=", field->name); in print_fields()
867 if (field->offset + field->size > iter->ent_size) { in print_fields()
871 pos = (void *)iter->ent + field->offset; in print_fields()
873 switch (field->filter_type) { in print_fields()
876 trace_seq_printf(&iter->seq, "%.*s", field->size, (char *)pos); in print_fields()
883 if (field->filter_type == FILTER_RDYN_STRING) in print_fields()
884 offset += field->offset + sizeof(int); in print_fields()
911 switch (field->size) { in print_fields()
927 if (strstr(field->type, "__data_loc")) { in print_fields()
932 if (strstr(field->type, "__rel_loc")) { in print_fields()
933 print_array(iter, pos, field); in print_fields()
1025 struct ftrace_entry *field; in trace_fn_trace() local
1028 trace_assign_type(field, iter->ent); in trace_fn_trace()
1030 print_fn_trace(s, field->ip, field->parent_ip, iter->tr->text_delta, flags); in trace_fn_trace()
1039 struct ftrace_entry *field; in trace_fn_raw() local
1041 trace_assign_type(field, iter->ent); in trace_fn_raw()
1044 field->ip, in trace_fn_raw()
1045 field->parent_ip); in trace_fn_raw()
1053 struct ftrace_entry *field; in trace_fn_hex() local
1056 trace_assign_type(field, iter->ent); in trace_fn_hex()
1058 SEQ_PUT_HEX_FIELD(s, field->ip); in trace_fn_hex()
1059 SEQ_PUT_HEX_FIELD(s, field->parent_ip); in trace_fn_hex()
1067 struct ftrace_entry *field; in trace_fn_bin() local
1070 trace_assign_type(field, iter->ent); in trace_fn_bin()
1072 SEQ_PUT_FIELD(s, field->ip); in trace_fn_bin()
1073 SEQ_PUT_FIELD(s, field->parent_ip); in trace_fn_bin()
1094 struct ctx_switch_entry *field; in trace_ctxwake_print() local
1099 trace_assign_type(field, iter->ent); in trace_ctxwake_print()
1101 T = task_index_to_char(field->next_state); in trace_ctxwake_print()
1102 S = task_index_to_char(field->prev_state); in trace_ctxwake_print()
1103 trace_find_cmdline(field->next_pid, comm); in trace_ctxwake_print()
1106 field->prev_pid, in trace_ctxwake_print()
1107 field->prev_prio, in trace_ctxwake_print()
1109 field->next_cpu, in trace_ctxwake_print()
1110 field->next_pid, in trace_ctxwake_print()
1111 field->next_prio, in trace_ctxwake_print()
1131 struct ctx_switch_entry *field; in trace_ctxwake_raw() local
1134 trace_assign_type(field, iter->ent); in trace_ctxwake_raw()
1137 S = task_index_to_char(field->prev_state); in trace_ctxwake_raw()
1138 T = task_index_to_char(field->next_state); in trace_ctxwake_raw()
1140 field->prev_pid, in trace_ctxwake_raw()
1141 field->prev_prio, in trace_ctxwake_raw()
1143 field->next_cpu, in trace_ctxwake_raw()
1144 field->next_pid, in trace_ctxwake_raw()
1145 field->next_prio, in trace_ctxwake_raw()
1166 struct ctx_switch_entry *field; in trace_ctxwake_hex() local
1170 trace_assign_type(field, iter->ent); in trace_ctxwake_hex()
1173 S = task_index_to_char(field->prev_state); in trace_ctxwake_hex()
1174 T = task_index_to_char(field->next_state); in trace_ctxwake_hex()
1176 SEQ_PUT_HEX_FIELD(s, field->prev_pid); in trace_ctxwake_hex()
1177 SEQ_PUT_HEX_FIELD(s, field->prev_prio); in trace_ctxwake_hex()
1179 SEQ_PUT_HEX_FIELD(s, field->next_cpu); in trace_ctxwake_hex()
1180 SEQ_PUT_HEX_FIELD(s, field->next_pid); in trace_ctxwake_hex()
1181 SEQ_PUT_HEX_FIELD(s, field->next_prio); in trace_ctxwake_hex()
1202 struct ctx_switch_entry *field; in trace_ctxwake_bin() local
1205 trace_assign_type(field, iter->ent); in trace_ctxwake_bin()
1207 SEQ_PUT_FIELD(s, field->prev_pid); in trace_ctxwake_bin()
1208 SEQ_PUT_FIELD(s, field->prev_prio); in trace_ctxwake_bin()
1209 SEQ_PUT_FIELD(s, field->prev_state); in trace_ctxwake_bin()
1210 SEQ_PUT_FIELD(s, field->next_cpu); in trace_ctxwake_bin()
1211 SEQ_PUT_FIELD(s, field->next_pid); in trace_ctxwake_bin()
1212 SEQ_PUT_FIELD(s, field->next_prio); in trace_ctxwake_bin()
1213 SEQ_PUT_FIELD(s, field->next_state); in trace_ctxwake_bin()
1247 struct stack_entry *field; in trace_stack_print() local
1253 trace_assign_type(field, iter->ent); in trace_stack_print()
1258 for (p = field->caller; p && p < end && *p != ULONG_MAX; p++) { in trace_stack_print()
1289 struct userstack_entry *field; in trace_user_stack_print() local
1294 trace_assign_type(field, iter->ent); in trace_user_stack_print()
1305 task = find_task_by_vpid(field->tgid); in trace_user_stack_print()
1312 unsigned long ip = field->caller[i]; in trace_user_stack_print()
1344 struct hwlat_entry *field; in trace_hwlat_print() local
1346 trace_assign_type(field, entry); in trace_hwlat_print()
1349 field->seqnum, in trace_hwlat_print()
1350 field->duration, in trace_hwlat_print()
1351 field->outer_duration, in trace_hwlat_print()
1352 (long long)field->timestamp.tv_sec, in trace_hwlat_print()
1353 field->timestamp.tv_nsec, field->count); in trace_hwlat_print()
1355 if (field->nmi_count) { in trace_hwlat_print()
1362 field->nmi_total_ts); in trace_hwlat_print()
1364 field->nmi_count); in trace_hwlat_print()
1376 struct hwlat_entry *field; in trace_hwlat_raw() local
1379 trace_assign_type(field, iter->ent); in trace_hwlat_raw()
1382 field->duration, in trace_hwlat_raw()
1383 field->outer_duration, in trace_hwlat_raw()
1384 (long long)field->timestamp.tv_sec, in trace_hwlat_raw()
1385 field->timestamp.tv_nsec, in trace_hwlat_raw()
1386 field->seqnum); in trace_hwlat_raw()
1408 struct osnoise_entry *field; in trace_osnoise_print() local
1412 trace_assign_type(field, entry); in trace_osnoise_print()
1417 net_runtime = field->runtime - field->noise; in trace_osnoise_print()
1419 do_div(ratio, field->runtime); in trace_osnoise_print()
1423 field->runtime, in trace_osnoise_print()
1424 field->noise, in trace_osnoise_print()
1426 field->max_sample); in trace_osnoise_print()
1428 trace_seq_printf(s, " %6u", field->hw_count); in trace_osnoise_print()
1429 trace_seq_printf(s, " %6u", field->nmi_count); in trace_osnoise_print()
1430 trace_seq_printf(s, " %6u", field->irq_count); in trace_osnoise_print()
1431 trace_seq_printf(s, " %6u", field->softirq_count); in trace_osnoise_print()
1432 trace_seq_printf(s, " %6u", field->thread_count); in trace_osnoise_print()
1443 struct osnoise_entry *field; in trace_osnoise_raw() local
1446 trace_assign_type(field, iter->ent); in trace_osnoise_raw()
1449 field->runtime, in trace_osnoise_raw()
1450 field->noise, in trace_osnoise_raw()
1451 field->max_sample, in trace_osnoise_raw()
1452 field->hw_count, in trace_osnoise_raw()
1453 field->nmi_count, in trace_osnoise_raw()
1454 field->irq_count, in trace_osnoise_raw()
1455 field->softirq_count, in trace_osnoise_raw()
1456 field->thread_count); in trace_osnoise_raw()
1480 struct timerlat_entry *field; in trace_timerlat_print() local
1482 trace_assign_type(field, entry); in trace_timerlat_print()
1485 field->seqnum, in trace_timerlat_print()
1486 timerlat_lat_context[field->context], in trace_timerlat_print()
1487 field->timer_latency); in trace_timerlat_print()
1496 struct timerlat_entry *field; in trace_timerlat_raw() local
1499 trace_assign_type(field, iter->ent); in trace_timerlat_raw()
1502 field->seqnum, in trace_timerlat_raw()
1503 field->context, in trace_timerlat_raw()
1504 field->timer_latency); in trace_timerlat_raw()
1526 struct bputs_entry *field; in trace_bputs_print() local
1528 trace_assign_type(field, entry); in trace_bputs_print()
1530 seq_print_ip_sym(s, field->ip, flags); in trace_bputs_print()
1532 trace_seq_puts(s, field->str); in trace_bputs_print()
1542 struct bputs_entry *field; in trace_bputs_raw() local
1545 trace_assign_type(field, iter->ent); in trace_bputs_raw()
1547 trace_seq_printf(s, ": %lx : ", field->ip); in trace_bputs_raw()
1548 trace_seq_puts(s, field->str); in trace_bputs_raw()
1570 struct bprint_entry *field; in trace_bprint_print() local
1572 trace_assign_type(field, entry); in trace_bprint_print()
1574 seq_print_ip_sym(s, field->ip, flags); in trace_bprint_print()
1576 trace_seq_bprintf(s, field->fmt, field->buf); in trace_bprint_print()
1586 struct bprint_entry *field; in trace_bprint_raw() local
1589 trace_assign_type(field, iter->ent); in trace_bprint_raw()
1591 trace_seq_printf(s, ": %lx : ", field->ip); in trace_bprint_raw()
1592 trace_seq_bprintf(s, field->fmt, field->buf); in trace_bprint_raw()
1611 struct print_entry *field; in trace_print_print() local
1615 trace_assign_type(field, iter->ent); in trace_print_print()
1617 ip = field->ip + iter->tr->text_delta; in trace_print_print()
1620 trace_seq_printf(s, ": %s", field->buf); in trace_print_print()
1628 struct print_entry *field; in trace_print_raw() local
1630 trace_assign_type(field, iter->ent); in trace_print_raw()
1632 trace_seq_printf(&iter->seq, "# %lx %s", field->ip, field->buf); in trace_print_raw()
1650 struct raw_data_entry *field; in trace_raw_data() local
1653 trace_assign_type(field, iter->ent); in trace_raw_data()
1655 trace_seq_printf(&iter->seq, "# %x buf:", field->id); in trace_raw_data()
1659 (unsigned char)field->buf[i]); in trace_raw_data()
1680 struct func_repeats_entry *field; in trace_func_repeats_raw() local
1683 trace_assign_type(field, iter->ent); in trace_func_repeats_raw()
1686 field->ip, in trace_func_repeats_raw()
1687 field->parent_ip, in trace_func_repeats_raw()
1688 field->count, in trace_func_repeats_raw()
1689 FUNC_REPEATS_GET_DELTA_TS(field)); in trace_func_repeats_raw()
1698 struct func_repeats_entry *field; in trace_func_repeats_print() local
1701 trace_assign_type(field, iter->ent); in trace_func_repeats_print()
1703 print_fn_trace(s, field->ip, field->parent_ip, iter->tr->text_delta, flags); in trace_func_repeats_print()
1704 trace_seq_printf(s, " (repeats: %u, last_ts:", field->count); in trace_func_repeats_print()
1706 iter->ts - FUNC_REPEATS_GET_DELTA_TS(field)); in trace_func_repeats_print()