Lines Matching refs:tracer
813 static struct tracer *trace_types __read_mostly;
1101 struct tracer *tracer = tr->current_trace; in tracing_snapshot_instance_cond() local
1118 if (tracer->use_max_tr) { in tracing_snapshot_instance_cond()
1920 struct tracer *type;
1925 static int save_selftest(struct tracer *type) in save_selftest()
1938 static int run_tracer_selftest(struct tracer *type) in run_tracer_selftest()
1941 struct tracer *saved_tracer = tr->current_trace; in run_tracer_selftest()
2014 struct tracer *t, **last; in init_trace_selftests()
2058 static inline int run_tracer_selftest(struct tracer *type) in run_tracer_selftest()
2064 static void add_tracer_options(struct trace_array *tr, struct tracer *t);
2074 int __init register_tracer(struct tracer *type) in register_tracer()
2076 struct tracer *t; in register_tracer()
4282 struct tracer *type = iter->trace; in print_trace_header()
5025 trace_ok_for_array(struct tracer *t, struct trace_array *tr) in trace_ok_for_array()
5031 static struct tracer *
5032 get_tracer_for_array(struct trace_array *tr, struct tracer *t) in get_tracer_for_array()
5044 struct tracer *t = v; in t_next()
5057 struct tracer *t; in t_start()
5076 struct tracer *t = v; in t_show()
5301 struct tracer *trace = tracer_flags->trace; in __set_tracer_option()
5318 struct tracer *trace = tr->current_trace; in set_tracer_option()
5334 int trace_keep_overwrite(struct tracer *tracer, u32 mask, int set) in trace_keep_overwrite() argument
5336 if (tracer->enabled && (mask & TRACE_ITER_OVERWRITE) && !set) in trace_keep_overwrite()
6202 int tracer_init(struct tracer *t, struct trace_array *tr) in tracer_init()
6368 create_trace_option_files(struct trace_array *tr, struct tracer *tracer);
6389 static void add_tracer_options(struct trace_array *tr, struct tracer *t) in add_tracer_options()
6404 struct tracer *t; in tracing_set_tracer()
9006 create_trace_option_files(struct trace_array *tr, struct tracer *tracer) in create_trace_option_files() argument
9015 if (!tracer) in create_trace_option_files()
9018 flags = tracer->flags; in create_trace_option_files()
9027 if (!trace_ok_for_array(tracer, tr)) in create_trace_option_files()
9032 if (WARN_ON_ONCE(tr->topts[i].tracer->flags == tracer->flags)) in create_trace_option_files()
9053 tr->topts[tr->nr_topts].tracer = tracer; in create_trace_option_files()
9295 struct tracer *t; in __update_tracer_options()