Lines Matching refs:iter
418 get_return_for_leaf(struct trace_iterator *iter, in get_return_for_leaf() argument
421 struct fgraph_data *data = iter->private; in get_return_for_leaf()
435 ring_iter = trace_buffer_iter(iter, iter->cpu); in get_return_for_leaf()
445 ring_buffer_consume(iter->array_buffer->buffer, iter->cpu, in get_return_for_leaf()
447 event = ring_buffer_peek(iter->array_buffer->buffer, iter->cpu, in get_return_for_leaf()
500 print_graph_rel_time(struct trace_iterator *iter, struct trace_seq *s) in print_graph_rel_time() argument
504 usecs = iter->ts - iter->array_buffer->time_start; in print_graph_rel_time()
511 print_graph_irq(struct trace_iterator *iter, unsigned long addr, in print_graph_irq() argument
514 struct trace_array *tr = iter->tr; in print_graph_irq()
515 struct trace_seq *s = &iter->seq; in print_graph_irq()
516 struct trace_entry *ent = iter->ent; in print_graph_irq()
525 print_graph_abs_time(iter->ts, s); in print_graph_irq()
529 print_graph_rel_time(iter, s); in print_graph_irq()
624 print_graph_entry_leaf(struct trace_iterator *iter, in print_graph_entry_leaf() argument
629 struct fgraph_data *data = iter->private; in print_graph_entry_leaf()
630 struct trace_array *tr = iter->tr; in print_graph_entry_leaf()
634 int cpu = iter->cpu; in print_graph_entry_leaf()
668 print_graph_irq(iter, graph_ret->func, TRACE_GRAPH_RET, in print_graph_entry_leaf()
669 cpu, iter->ent->pid, flags); in print_graph_entry_leaf()
675 print_graph_entry_nested(struct trace_iterator *iter, in print_graph_entry_nested() argument
680 struct fgraph_data *data = iter->private; in print_graph_entry_nested()
681 struct trace_array *tr = iter->tr; in print_graph_entry_nested()
686 int cpu = iter->cpu; in print_graph_entry_nested()
717 print_graph_prologue(struct trace_iterator *iter, struct trace_seq *s, in print_graph_prologue() argument
720 struct fgraph_data *data = iter->private; in print_graph_prologue()
721 struct trace_entry *ent = iter->ent; in print_graph_prologue()
722 struct trace_array *tr = iter->tr; in print_graph_prologue()
723 int cpu = iter->cpu; in print_graph_prologue()
730 print_graph_irq(iter, addr, type, cpu, ent->pid, flags); in print_graph_prologue()
737 print_graph_abs_time(iter->ts, s); in print_graph_prologue()
741 print_graph_rel_time(iter, s); in print_graph_prologue()
772 check_irq_entry(struct trace_iterator *iter, u32 flags, in check_irq_entry() argument
775 int cpu = iter->cpu; in check_irq_entry()
777 struct fgraph_data *data = iter->private; in check_irq_entry()
819 check_irq_return(struct trace_iterator *iter, u32 flags, int depth) in check_irq_return() argument
821 int cpu = iter->cpu; in check_irq_return()
823 struct fgraph_data *data = iter->private; in check_irq_return()
864 struct trace_iterator *iter, u32 flags) in print_graph_entry() argument
866 struct fgraph_data *data = iter->private; in print_graph_entry()
870 int cpu = iter->cpu; in print_graph_entry()
872 if (check_irq_entry(iter, flags, call->func, call->depth)) in print_graph_entry()
875 print_graph_prologue(iter, s, TRACE_GRAPH_ENT, call->func, flags); in print_graph_entry()
877 leaf_ret = get_return_for_leaf(iter, field); in print_graph_entry()
879 ret = print_graph_entry_leaf(iter, field, leaf_ret, s, flags); in print_graph_entry()
881 ret = print_graph_entry_nested(iter, field, s, cpu, flags); in print_graph_entry()
900 struct trace_entry *ent, struct trace_iterator *iter, in print_graph_return() argument
904 struct fgraph_data *data = iter->private; in print_graph_return()
905 struct trace_array *tr = iter->tr; in print_graph_return()
907 int cpu = iter->cpu; in print_graph_return()
911 if (check_irq_return(iter, flags, trace->depth)) in print_graph_return()
916 int cpu = iter->cpu; in print_graph_return()
935 print_graph_prologue(iter, s, 0, 0, flags); in print_graph_return()
961 print_graph_irq(iter, trace->func, TRACE_GRAPH_RET, in print_graph_return()
969 struct trace_iterator *iter, u32 flags) in print_graph_comment() argument
971 struct trace_array *tr = iter->tr; in print_graph_comment()
973 struct fgraph_data *data = iter->private; in print_graph_comment()
980 depth = per_cpu_ptr(data->cpu_data, iter->cpu)->depth; in print_graph_comment()
982 print_graph_prologue(iter, s, 0, 0, flags); in print_graph_comment()
995 switch (iter->ent->type) { in print_graph_comment()
997 ret = trace_print_bputs_msg_only(iter); in print_graph_comment()
1002 ret = trace_print_bprintk_msg_only(iter); in print_graph_comment()
1007 ret = trace_print_printk_msg_only(iter); in print_graph_comment()
1016 ret = event->funcs->trace(iter, sym_flags, event); in print_graph_comment()
1037 print_graph_function_flags(struct trace_iterator *iter, u32 flags) in print_graph_function_flags() argument
1040 struct fgraph_data *data = iter->private; in print_graph_function_flags()
1041 struct trace_entry *entry = iter->ent; in print_graph_function_flags()
1042 struct trace_seq *s = &iter->seq; in print_graph_function_flags()
1043 int cpu = iter->cpu; in print_graph_function_flags()
1057 iter->cpu = data->cpu; in print_graph_function_flags()
1058 ret = print_graph_entry(field, s, iter, flags); in print_graph_function_flags()
1059 if (ret == TRACE_TYPE_HANDLED && iter->cpu != cpu) { in print_graph_function_flags()
1060 per_cpu_ptr(data->cpu_data, iter->cpu)->ignore = 1; in print_graph_function_flags()
1063 iter->cpu = cpu; in print_graph_function_flags()
1078 return print_graph_entry(&saved, s, iter, flags); in print_graph_function_flags()
1083 return print_graph_return(&field->ret, s, entry, iter, flags); in print_graph_function_flags()
1091 return print_graph_comment(s, entry, iter, flags); in print_graph_function_flags()
1098 print_graph_function(struct trace_iterator *iter) in print_graph_function() argument
1100 return print_graph_function_flags(iter, tracer_flags.val); in print_graph_function()
1104 print_graph_function_event(struct trace_iterator *iter, int flags, in print_graph_function_event() argument
1107 return print_graph_function(iter); in print_graph_function_event()
1181 struct trace_iterator *iter = s->private; in print_graph_headers_flags() local
1182 struct trace_array *tr = iter->tr; in print_graph_headers_flags()
1189 if (trace_empty(iter)) in print_graph_headers_flags()
1192 print_trace_header(s, iter); in print_graph_headers_flags()
1198 void graph_trace_open(struct trace_iterator *iter) in graph_trace_open() argument
1205 iter->private = NULL; in graph_trace_open()
1230 iter->private = data; in graph_trace_open()
1240 void graph_trace_close(struct trace_iterator *iter) in graph_trace_close() argument
1242 struct fgraph_data *data = iter->private; in graph_trace_close()