Lines Matching refs:tracer
628 static struct tracer *trace_types __read_mostly;
879 struct tracer *tracer = tr->current_trace; in tracing_snapshot() local
896 if (tracer->use_max_tr) { in tracing_snapshot()
1391 static int run_tracer_selftest(struct tracer *type) in run_tracer_selftest()
1394 struct tracer *saved_tracer = tr->current_trace; in run_tracer_selftest()
1450 static inline int run_tracer_selftest(struct tracer *type) in run_tracer_selftest()
1456 static void add_tracer_options(struct trace_array *tr, struct tracer *t);
1466 int __init register_tracer(struct tracer *type) in register_tracer()
1468 struct tracer *t; in register_tracer()
2987 struct tracer *type = iter->trace; in print_trace_header()
3651 trace_ok_for_array(struct tracer *t, struct trace_array *tr) in trace_ok_for_array()
3657 static struct tracer *
3658 get_tracer_for_array(struct trace_array *tr, struct tracer *t) in get_tracer_for_array()
3670 struct tracer *t = v; in t_next()
3683 struct tracer *t; in t_start()
3702 struct tracer *t = v; in t_show()
3892 struct tracer *trace = tracer_flags->trace; in __set_tracer_option()
3909 struct tracer *trace = tr->current_trace; in set_tracer_option()
3925 int trace_keep_overwrite(struct tracer *tracer, u32 mask, int set) in trace_keep_overwrite() argument
3927 if (tracer->enabled && (mask & TRACE_ITER_OVERWRITE) && !set) in trace_keep_overwrite()
4690 int tracer_init(struct tracer *t, struct trace_array *tr) in tracer_init()
4850 create_trace_option_files(struct trace_array *tr, struct tracer *tracer);
4869 static void add_tracer_options(struct trace_array *tr, struct tracer *t) in add_tracer_options()
4880 struct tracer *t; in tracing_set_tracer()
6881 create_trace_option_files(struct trace_array *tr, struct tracer *tracer) in create_trace_option_files() argument
6890 if (!tracer) in create_trace_option_files()
6893 flags = tracer->flags; in create_trace_option_files()
6902 if (!trace_ok_for_array(tracer, tr)) in create_trace_option_files()
6907 if (WARN_ON_ONCE(tr->topts[i].tracer->flags == tracer->flags)) in create_trace_option_files()
6928 tr->topts[tr->nr_topts].tracer = tracer; in create_trace_option_files()
7121 struct tracer *t; in __update_tracer_options()