Lines Matching refs:trace
2138 type->flags->trace = type; in register_tracer()
2877 !event_call->event.funcs->trace) in output_printk()
2891 event_call->event.funcs->trace(iter, 0, event); in output_printk()
4117 if (unlikely(tr->current_trace && iter->trace->name != tr->current_trace->name)) { in s_start()
4119 if (iter->trace->close) in s_start()
4120 iter->trace->close(iter); in s_start()
4121 *iter->trace = *tr->current_trace; in s_start()
4123 if (iter->trace->open) in s_start()
4124 iter->trace->open(iter); in s_start()
4129 if (iter->snapshot && iter->trace->use_max_tr) in s_start()
4171 if (iter->snapshot && iter->trace->use_max_tr) in s_stop()
4302 struct tracer *type = iter->trace; in print_trace_header()
4404 return event->funcs->trace(iter, sym_flags, event); in print_trace_fmt()
4539 if (iter->trace && iter->trace->print_line) { in print_trace_line()
4540 ret = iter->trace->print_line(iter); in print_trace_line()
4675 seq_printf(m, "# tracer: %s\n", iter->trace->name); in s_show()
4681 else if (iter->trace && iter->trace->print_header) in s_show()
4682 iter->trace->print_header(m); in s_show()
4780 iter->trace = kzalloc(sizeof(*iter->trace), GFP_KERNEL); in __tracing_open()
4781 if (!iter->trace) in __tracing_open()
4784 *iter->trace = *tr->current_trace; in __tracing_open()
4804 if (iter->trace->open) in __tracing_open()
4805 iter->trace->open(iter); in __tracing_open()
4849 kfree(iter->trace); in __tracing_open()
4952 if (iter->trace && iter->trace->close) in tracing_release()
4953 iter->trace->close(iter); in tracing_release()
4967 kfree(iter->trace); in tracing_release()
5313 struct tracer *trace = tracer_flags->trace; in __set_tracer_option() local
5316 ret = trace->set_flag(tr, tracer_flags->val, opts->bit, !neg); in __set_tracer_option()
5330 struct tracer *trace = tr->current_trace; in set_tracer_option() local
5331 struct tracer_flags *tracer_flags = trace->flags; in set_tracer_option()
5339 return __set_tracer_option(tr, trace->flags, opts, neg); in set_tracer_option()
6661 iter->trace = tr->current_trace; in tracing_open_pipe()
6684 if (iter->trace->pipe_open) in tracing_open_pipe()
6685 iter->trace->pipe_open(iter); in tracing_open_pipe()
6710 if (iter->trace->pipe_close) in tracing_release_pipe()
6711 iter->trace->pipe_close(iter); in tracing_release_pipe()
6814 if (iter->trace->read) { in tracing_read_pipe()
6815 sret = iter->trace->read(iter, filp, ubuf, cnt, ppos); in tracing_read_pipe()
6978 if (iter->trace->splice_read) { in tracing_splice_read_pipe()
6979 ret = iter->trace->splice_read(iter, filp, in tracing_splice_read_pipe()
7637 if (info->iter.trace->use_max_tr) { in snapshot_raw_open()
8133 info->iter.trace = tr->current_trace; in tracing_buffers_open()
10044 iter->trace = iter->tr->current_trace; in trace_init_global_iter()
10048 if (iter->trace && iter->trace->open) in trace_init_global_iter()
10049 iter->trace->open(iter); in trace_init_global_iter()