Lines Matching refs:tracer

645 static struct tracer		*trace_types __read_mostly;
921 struct tracer *tracer = tr->current_trace; in tracing_snapshot_instance_cond() local
938 if (tracer->use_max_tr) { in tracing_snapshot_instance_cond()
1646 struct tracer *type;
1651 static int save_selftest(struct tracer *type) in save_selftest()
1664 static int run_tracer_selftest(struct tracer *type) in run_tracer_selftest()
1667 struct tracer *saved_tracer = tr->current_trace; in run_tracer_selftest()
1734 struct tracer *t, **last; in init_trace_selftests()
1776 static inline int run_tracer_selftest(struct tracer *type) in run_tracer_selftest()
1782 static void add_tracer_options(struct trace_array *tr, struct tracer *t);
1792 int __init register_tracer(struct tracer *type) in register_tracer()
1794 struct tracer *t; in register_tracer()
3632 struct tracer *type = iter->trace; in print_trace_header()
4298 trace_ok_for_array(struct tracer *t, struct trace_array *tr) in trace_ok_for_array()
4304 static struct tracer *
4305 get_tracer_for_array(struct trace_array *tr, struct tracer *t) in get_tracer_for_array()
4317 struct tracer *t = v; in t_next()
4330 struct tracer *t; in t_start()
4349 struct tracer *t = v; in t_show()
4550 struct tracer *trace = tracer_flags->trace; in __set_tracer_option()
4567 struct tracer *trace = tr->current_trace; in set_tracer_option()
4583 int trace_keep_overwrite(struct tracer *tracer, u32 mask, int set) in trace_keep_overwrite() argument
4585 if (tracer->enabled && (mask & TRACE_ITER_OVERWRITE) && !set) in trace_keep_overwrite()
5434 int tracer_init(struct tracer *t, struct trace_array *tr) in tracer_init()
5594 create_trace_option_files(struct trace_array *tr, struct tracer *tracer);
5613 static void add_tracer_options(struct trace_array *tr, struct tracer *t) in add_tracer_options()
5624 struct tracer *t; in tracing_set_tracer()
8052 create_trace_option_files(struct trace_array *tr, struct tracer *tracer) in create_trace_option_files() argument
8061 if (!tracer) in create_trace_option_files()
8064 flags = tracer->flags; in create_trace_option_files()
8073 if (!trace_ok_for_array(tracer, tr)) in create_trace_option_files()
8078 if (WARN_ON_ONCE(tr->topts[i].tracer->flags == tracer->flags)) in create_trace_option_files()
8099 tr->topts[tr->nr_topts].tracer = tracer; in create_trace_option_files()
8341 struct tracer *t; in __update_tracer_options()