Lines Matching defs:tr
72 #define do_for_each_event_file(tr, file) \ argument
76 #define do_for_each_event_file_safe(tr, file) \ argument
478 struct trace_array *tr = trace_file->tr; in trace_event_ignore_this_pid() local
568 struct trace_array *tr; in trace_event_enable_cmd_record() local
590 struct trace_array *tr; in trace_event_enable_tgid_record() local
613 struct trace_array *tr = file->tr; in __ftrace_event_enable_disable() local
733 static void ftrace_clear_events(struct trace_array *tr) in ftrace_clear_events()
748 struct trace_array *tr = data; in event_filter_pid_sched_process_exit() local
763 struct trace_array *tr = data; in event_filter_pid_sched_process_fork() local
772 void trace_event_follow_fork(struct trace_array *tr, bool enable) in trace_event_follow_fork()
793 struct trace_array *tr = data; in event_filter_pid_sched_switch_probe_pre() local
819 struct trace_array *tr = data; in event_filter_pid_sched_switch_probe_post() local
833 struct trace_array *tr = data; in event_filter_pid_sched_wakeup_probe_pre() local
851 struct trace_array *tr = data; in event_filter_pid_sched_wakeup_probe_post() local
867 static void unregister_pid_events(struct trace_array *tr) in unregister_pid_events()
882 static void __ftrace_clear_event_pids(struct trace_array *tr, int type) in __ftrace_clear_event_pids()
925 static void ftrace_clear_event_pids(struct trace_array *tr, int type) in ftrace_clear_event_pids()
1028 __ftrace_set_clr_event_nolock(struct trace_array *tr, const char *match, in __ftrace_set_clr_event_nolock()
1075 static int __ftrace_set_clr_event(struct trace_array *tr, const char *match, in __ftrace_set_clr_event()
1087 int ftrace_set_clr_event(struct trace_array *tr, char *buf, int set) in ftrace_set_clr_event()
1141 struct trace_array *tr = top_trace_array(); in trace_set_clr_event() local
1163 int trace_array_set_clr_event(struct trace_array *tr, const char *system, in trace_array_set_clr_event()
1185 struct trace_array *tr = m->private; in ftrace_event_write() local
1224 struct trace_array *tr = m->private; in t_next() local
1245 struct trace_array *tr = m->private; in t_start() local
1263 struct trace_array *tr = m->private; in s_next() local
1278 struct trace_array *tr = m->private; in s_start() local
1312 struct trace_array *tr = m->private; in __next() local
1339 struct trace_array *tr = m->private; in __start() local
1455 struct trace_array *tr = dir->tr; in system_enable_read() local
1754 struct trace_array *tr = NULL, *iter_tr; in subsystem_open() local
1803 struct trace_array *tr = inode->i_private; in system_tr_open() local
1920 struct trace_array *tr = data; in ignore_task_cpu() local
1937 static void register_pid_events(struct trace_array *tr) in register_pid_events()
1971 struct trace_array *tr = m->private; in event_pid_write() local
2195 struct trace_array *tr = inode->i_private; in ftrace_event_release() local
2215 struct trace_array *tr = inode->i_private; in ftrace_event_set_open() local
2236 struct trace_array *tr = inode->i_private; in ftrace_event_set_pid_open() local
2257 struct trace_array *tr = inode->i_private; in ftrace_event_set_npid_open() local
2322 event_subsystem_dir(struct trace_array *tr, const char *name, in event_subsystem_dir()
2521 struct trace_array *tr = file->tr; in event_create_dir() local
2605 struct trace_array *tr; in remove_event_from_tracers() local
2624 struct trace_array *tr; in event_remove() local
2899 struct trace_array *tr) in trace_create_new_event()
2968 __trace_add_new_event(struct trace_event_call *call, struct trace_array *tr) in __trace_add_new_event()
3007 struct trace_array *tr) in __trace_early_add_new_event()
3059 struct trace_array *tr; in probe_remove_event_call() local
3208 __trace_add_event_dirs(struct trace_array *tr) in __trace_add_event_dirs()
3223 __find_event_file(struct trace_array *tr, const char *system, const char *event) in __find_event_file()
3246 find_event_file(struct trace_array *tr, const char *system, const char *event) in find_event_file()
3282 struct trace_array *tr = top_trace_array(); in trace_get_event_file() local
3366 struct trace_array *tr, struct ftrace_probe_ops *ops, in event_enable_probe()
3383 struct trace_array *tr, struct ftrace_probe_ops *ops, in event_enable_count_probe()
3440 event_enable_init(struct ftrace_probe_ops *ops, struct trace_array *tr, in event_enable_init()
3478 event_enable_free(struct ftrace_probe_ops *ops, struct trace_array *tr, in event_enable_free()
3531 event_enable_func(struct trace_array *tr, struct ftrace_hash *hash, in event_enable_func()
3673 static void __trace_early_add_event_dirs(struct trace_array *tr) in __trace_early_add_event_dirs()
3693 void __trace_early_add_events(struct trace_array *tr) in __trace_early_add_events()
3713 __trace_remove_event_dirs(struct trace_array *tr) in __trace_remove_event_dirs()
3723 struct trace_array *tr; in __add_event_to_tracers() local
3769 create_event_toplevel_files(struct dentry *parent, struct trace_array *tr) in create_event_toplevel_files()
3830 int event_trace_add_tracer(struct dentry *parent, struct trace_array *tr) in event_trace_add_tracer()
3857 early_event_add_tracer(struct dentry *parent, struct trace_array *tr) in early_event_add_tracer()
3878 int event_trace_del_tracer(struct trace_array *tr) in event_trace_del_tracer()
3912 early_enable_events(struct trace_array *tr, char *buf, bool disable_first) in early_enable_events()
3941 struct trace_array *tr = top_trace_array(); in event_trace_enable() local
3988 struct trace_array *tr; in event_trace_enable_again() local
4015 struct trace_array *tr; in event_trace_init() local
4111 struct trace_array *tr; in event_trace_self_tests() local