Lines Matching refs: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()
815 struct ftrace_event_field *field) in print_array() argument
824 if (field) in print_array()
825 offset += field->offset + sizeof(int); in print_array()
844 struct ftrace_event_field *field; in print_fields() local
850 list_for_each_entry_reverse(field, head, link) { in print_fields()
851 trace_seq_printf(&iter->seq, " %s=", field->name); in print_fields()
852 if (field->offset + field->size > iter->ent_size) { in print_fields()
856 pos = (void *)iter->ent + field->offset; in print_fields()
858 switch (field->filter_type) { in print_fields()
861 trace_seq_printf(&iter->seq, "%.*s", field->size, (char *)pos); in print_fields()
868 if (field->filter_type == FILTER_RDYN_STRING) in print_fields()
869 offset += field->offset + sizeof(int); in print_fields()
896 switch (field->size) { in print_fields()
912 if (strstr(field->type, "__data_loc")) { in print_fields()
917 if (strstr(field->type, "__rel_loc")) { in print_fields()
918 print_array(iter, pos, field); in print_fields()
1010 struct ftrace_entry *field; in trace_fn_trace() local
1013 trace_assign_type(field, iter->ent); in trace_fn_trace()
1015 print_fn_trace(s, field->ip, field->parent_ip, iter->tr->text_delta, flags); in trace_fn_trace()
1024 struct ftrace_entry *field; in trace_fn_raw() local
1026 trace_assign_type(field, iter->ent); in trace_fn_raw()
1029 field->ip, in trace_fn_raw()
1030 field->parent_ip); in trace_fn_raw()
1038 struct ftrace_entry *field; in trace_fn_hex() local
1041 trace_assign_type(field, iter->ent); in trace_fn_hex()
1043 SEQ_PUT_HEX_FIELD(s, field->ip); in trace_fn_hex()
1044 SEQ_PUT_HEX_FIELD(s, field->parent_ip); in trace_fn_hex()
1052 struct ftrace_entry *field; in trace_fn_bin() local
1055 trace_assign_type(field, iter->ent); in trace_fn_bin()
1057 SEQ_PUT_FIELD(s, field->ip); in trace_fn_bin()
1058 SEQ_PUT_FIELD(s, field->parent_ip); in trace_fn_bin()
1079 struct ctx_switch_entry *field; in trace_ctxwake_print() local
1084 trace_assign_type(field, iter->ent); in trace_ctxwake_print()
1086 T = task_index_to_char(field->next_state); in trace_ctxwake_print()
1087 S = task_index_to_char(field->prev_state); in trace_ctxwake_print()
1088 trace_find_cmdline(field->next_pid, comm); in trace_ctxwake_print()
1091 field->prev_pid, in trace_ctxwake_print()
1092 field->prev_prio, in trace_ctxwake_print()
1094 field->next_cpu, in trace_ctxwake_print()
1095 field->next_pid, in trace_ctxwake_print()
1096 field->next_prio, in trace_ctxwake_print()
1116 struct ctx_switch_entry *field; in trace_ctxwake_raw() local
1119 trace_assign_type(field, iter->ent); in trace_ctxwake_raw()
1122 S = task_index_to_char(field->prev_state); in trace_ctxwake_raw()
1123 T = task_index_to_char(field->next_state); in trace_ctxwake_raw()
1125 field->prev_pid, in trace_ctxwake_raw()
1126 field->prev_prio, in trace_ctxwake_raw()
1128 field->next_cpu, in trace_ctxwake_raw()
1129 field->next_pid, in trace_ctxwake_raw()
1130 field->next_prio, in trace_ctxwake_raw()
1151 struct ctx_switch_entry *field; in trace_ctxwake_hex() local
1155 trace_assign_type(field, iter->ent); in trace_ctxwake_hex()
1158 S = task_index_to_char(field->prev_state); in trace_ctxwake_hex()
1159 T = task_index_to_char(field->next_state); in trace_ctxwake_hex()
1161 SEQ_PUT_HEX_FIELD(s, field->prev_pid); in trace_ctxwake_hex()
1162 SEQ_PUT_HEX_FIELD(s, field->prev_prio); in trace_ctxwake_hex()
1164 SEQ_PUT_HEX_FIELD(s, field->next_cpu); in trace_ctxwake_hex()
1165 SEQ_PUT_HEX_FIELD(s, field->next_pid); in trace_ctxwake_hex()
1166 SEQ_PUT_HEX_FIELD(s, field->next_prio); in trace_ctxwake_hex()
1187 struct ctx_switch_entry *field; in trace_ctxwake_bin() local
1190 trace_assign_type(field, iter->ent); in trace_ctxwake_bin()
1192 SEQ_PUT_FIELD(s, field->prev_pid); in trace_ctxwake_bin()
1193 SEQ_PUT_FIELD(s, field->prev_prio); in trace_ctxwake_bin()
1194 SEQ_PUT_FIELD(s, field->prev_state); in trace_ctxwake_bin()
1195 SEQ_PUT_FIELD(s, field->next_cpu); in trace_ctxwake_bin()
1196 SEQ_PUT_FIELD(s, field->next_pid); in trace_ctxwake_bin()
1197 SEQ_PUT_FIELD(s, field->next_prio); in trace_ctxwake_bin()
1198 SEQ_PUT_FIELD(s, field->next_state); in trace_ctxwake_bin()
1232 struct stack_entry *field; in trace_stack_print() local
1238 trace_assign_type(field, iter->ent); in trace_stack_print()
1243 for (p = field->caller; p && p < end && *p != ULONG_MAX; p++) { in trace_stack_print()
1270 struct userstack_entry *field; in trace_user_stack_print() local
1275 trace_assign_type(field, iter->ent); in trace_user_stack_print()
1286 task = find_task_by_vpid(field->tgid); in trace_user_stack_print()
1293 unsigned long ip = field->caller[i]; in trace_user_stack_print()
1325 struct hwlat_entry *field; in trace_hwlat_print() local
1327 trace_assign_type(field, entry); in trace_hwlat_print()
1330 field->seqnum, in trace_hwlat_print()
1331 field->duration, in trace_hwlat_print()
1332 field->outer_duration, in trace_hwlat_print()
1333 (long long)field->timestamp.tv_sec, in trace_hwlat_print()
1334 field->timestamp.tv_nsec, field->count); in trace_hwlat_print()
1336 if (field->nmi_count) { in trace_hwlat_print()
1343 field->nmi_total_ts); in trace_hwlat_print()
1345 field->nmi_count); in trace_hwlat_print()
1357 struct hwlat_entry *field; in trace_hwlat_raw() local
1360 trace_assign_type(field, iter->ent); in trace_hwlat_raw()
1363 field->duration, in trace_hwlat_raw()
1364 field->outer_duration, in trace_hwlat_raw()
1365 (long long)field->timestamp.tv_sec, in trace_hwlat_raw()
1366 field->timestamp.tv_nsec, in trace_hwlat_raw()
1367 field->seqnum); in trace_hwlat_raw()
1389 struct osnoise_entry *field; in trace_osnoise_print() local
1393 trace_assign_type(field, entry); in trace_osnoise_print()
1398 net_runtime = field->runtime - field->noise; in trace_osnoise_print()
1400 do_div(ratio, field->runtime); in trace_osnoise_print()
1404 field->runtime, in trace_osnoise_print()
1405 field->noise, in trace_osnoise_print()
1407 field->max_sample); in trace_osnoise_print()
1409 trace_seq_printf(s, " %6u", field->hw_count); in trace_osnoise_print()
1410 trace_seq_printf(s, " %6u", field->nmi_count); in trace_osnoise_print()
1411 trace_seq_printf(s, " %6u", field->irq_count); in trace_osnoise_print()
1412 trace_seq_printf(s, " %6u", field->softirq_count); in trace_osnoise_print()
1413 trace_seq_printf(s, " %6u", field->thread_count); in trace_osnoise_print()
1424 struct osnoise_entry *field; in trace_osnoise_raw() local
1427 trace_assign_type(field, iter->ent); in trace_osnoise_raw()
1430 field->runtime, in trace_osnoise_raw()
1431 field->noise, in trace_osnoise_raw()
1432 field->max_sample, in trace_osnoise_raw()
1433 field->hw_count, in trace_osnoise_raw()
1434 field->nmi_count, in trace_osnoise_raw()
1435 field->irq_count, in trace_osnoise_raw()
1436 field->softirq_count, in trace_osnoise_raw()
1437 field->thread_count); in trace_osnoise_raw()
1461 struct timerlat_entry *field; in trace_timerlat_print() local
1463 trace_assign_type(field, entry); in trace_timerlat_print()
1466 field->seqnum, in trace_timerlat_print()
1467 timerlat_lat_context[field->context], in trace_timerlat_print()
1468 field->timer_latency); in trace_timerlat_print()
1477 struct timerlat_entry *field; in trace_timerlat_raw() local
1480 trace_assign_type(field, iter->ent); in trace_timerlat_raw()
1483 field->seqnum, in trace_timerlat_raw()
1484 field->context, in trace_timerlat_raw()
1485 field->timer_latency); in trace_timerlat_raw()
1507 struct bputs_entry *field; in trace_bputs_print() local
1509 trace_assign_type(field, entry); in trace_bputs_print()
1511 seq_print_ip_sym(s, field->ip, flags); in trace_bputs_print()
1513 trace_seq_puts(s, field->str); in trace_bputs_print()
1523 struct bputs_entry *field; in trace_bputs_raw() local
1526 trace_assign_type(field, iter->ent); in trace_bputs_raw()
1528 trace_seq_printf(s, ": %lx : ", field->ip); in trace_bputs_raw()
1529 trace_seq_puts(s, field->str); in trace_bputs_raw()
1551 struct bprint_entry *field; in trace_bprint_print() local
1553 trace_assign_type(field, entry); in trace_bprint_print()
1555 seq_print_ip_sym(s, field->ip, flags); in trace_bprint_print()
1557 trace_seq_bprintf(s, field->fmt, field->buf); in trace_bprint_print()
1567 struct bprint_entry *field; in trace_bprint_raw() local
1570 trace_assign_type(field, iter->ent); in trace_bprint_raw()
1572 trace_seq_printf(s, ": %lx : ", field->ip); in trace_bprint_raw()
1573 trace_seq_bprintf(s, field->fmt, field->buf); in trace_bprint_raw()
1592 struct print_entry *field; in trace_print_print() local
1596 trace_assign_type(field, iter->ent); in trace_print_print()
1598 ip = field->ip + iter->tr->text_delta; in trace_print_print()
1601 trace_seq_printf(s, ": %s", field->buf); in trace_print_print()
1609 struct print_entry *field; in trace_print_raw() local
1611 trace_assign_type(field, iter->ent); in trace_print_raw()
1613 trace_seq_printf(&iter->seq, "# %lx %s", field->ip, field->buf); in trace_print_raw()
1631 struct raw_data_entry *field; in trace_raw_data() local
1634 trace_assign_type(field, iter->ent); in trace_raw_data()
1636 trace_seq_printf(&iter->seq, "# %x buf:", field->id); in trace_raw_data()
1640 (unsigned char)field->buf[i]); in trace_raw_data()
1661 struct func_repeats_entry *field; in trace_func_repeats_raw() local
1664 trace_assign_type(field, iter->ent); in trace_func_repeats_raw()
1667 field->ip, in trace_func_repeats_raw()
1668 field->parent_ip, in trace_func_repeats_raw()
1669 field->count, in trace_func_repeats_raw()
1670 FUNC_REPEATS_GET_DELTA_TS(field)); in trace_func_repeats_raw()
1679 struct func_repeats_entry *field; in trace_func_repeats_print() local
1682 trace_assign_type(field, iter->ent); in trace_func_repeats_print()
1684 print_fn_trace(s, field->ip, field->parent_ip, iter->tr->text_delta, flags); in trace_func_repeats_print()
1685 trace_seq_printf(s, " (repeats: %u, last_ts:", field->count); in trace_func_repeats_print()
1687 iter->ts - FUNC_REPEATS_GET_DELTA_TS(field)); in trace_func_repeats_print()