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
624 struct trace_array *tr = trace_file->tr; in trace_event_ignore_this_pid() local
714 struct trace_array *tr; in trace_event_enable_cmd_record() local
736 struct trace_array *tr; in trace_event_enable_tgid_record() local
759 struct trace_array *tr = file->tr; in __ftrace_event_enable_disable() local
900 static void clear_mod_events(struct trace_array *tr) in clear_mod_events()
909 static int remove_cache_mod(struct trace_array *tr, const char *mod, in remove_cache_mod()
937 static int cache_mod(struct trace_array *tr, const char *mod, int set, in cache_mod()
987 static inline void clear_mod_events(struct trace_array *tr) { } in clear_mod_events()
988 static int cache_mod(struct trace_array *tr, const char *mod, int set, in cache_mod()
995 static void ftrace_clear_events(struct trace_array *tr) in ftrace_clear_events()
1011 struct trace_array *tr = data; in event_filter_pid_sched_process_exit() local
1026 struct trace_array *tr = data; in event_filter_pid_sched_process_fork() local
1035 void trace_event_follow_fork(struct trace_array *tr, bool enable) in trace_event_follow_fork()
1056 struct trace_array *tr = data; in event_filter_pid_sched_switch_probe_pre() local
1082 struct trace_array *tr = data; in event_filter_pid_sched_switch_probe_post() local
1096 struct trace_array *tr = data; in event_filter_pid_sched_wakeup_probe_pre() local
1114 struct trace_array *tr = data; in event_filter_pid_sched_wakeup_probe_post() local
1130 static void unregister_pid_events(struct trace_array *tr) in unregister_pid_events()
1145 static void __ftrace_clear_event_pids(struct trace_array *tr, int type) in __ftrace_clear_event_pids()
1188 static void ftrace_clear_event_pids(struct trace_array *tr, int type) in ftrace_clear_event_pids()
1291 __ftrace_set_clr_event_nolock(struct trace_array *tr, const char *match, in __ftrace_set_clr_event_nolock()
1364 static int __ftrace_set_clr_event(struct trace_array *tr, const char *match, in __ftrace_set_clr_event()
1377 int ftrace_set_clr_event(struct trace_array *tr, char *buf, int set) in ftrace_set_clr_event()
1444 struct trace_array *tr = top_trace_array(); in trace_set_clr_event() local
1466 int trace_array_set_clr_event(struct trace_array *tr, const char *system, in trace_array_set_clr_event()
1488 struct trace_array *tr = m->private; in ftrace_event_write() local
1527 struct trace_array *tr = m->private; in t_next() local
1548 struct trace_array *tr = m->private; in t_start() local
1580 struct trace_array *tr = m->private; in s_next() local
1615 struct trace_array *tr = m->private; in s_start() local
1695 struct trace_array *tr = m->private; in __next() local
1722 struct trace_array *tr = m->private; in __start() local
1839 struct trace_array *tr = dir->tr; in system_enable_read() local
2148 struct trace_array *tr = NULL, *iter_tr; in subsystem_open() local
2197 struct trace_array *tr = inode->i_private; in system_tr_open() local
2290 struct trace_array *tr = filp->private_data; in show_header_page_file() local
2338 struct trace_array *tr = data; in ignore_task_cpu() local
2355 static void register_pid_events(struct trace_array *tr) in register_pid_events()
2389 struct trace_array *tr = m->private; in event_pid_write() local
2619 struct trace_array *tr = inode->i_private; in ftrace_event_release() local
2639 struct trace_array *tr = inode->i_private; in ftrace_event_set_open() local
2660 struct trace_array *tr = inode->i_private; in ftrace_event_set_pid_open() local
2681 struct trace_array *tr = inode->i_private; in ftrace_event_set_npid_open() local
2746 event_subsystem_dir(struct trace_array *tr, const char *name, in event_subsystem_dir()
2952 struct trace_array *tr = file->tr; in event_create_dir() local
3040 struct trace_array *tr; in remove_event_from_tracers() local
3059 struct trace_array *tr; in event_remove() local
3369 struct trace_array *tr) in trace_create_new_event()
3441 __trace_add_new_event(struct trace_event_call *call, struct trace_array *tr) in __trace_add_new_event()
3489 struct trace_array *tr) in __trace_early_add_new_event()
3548 struct trace_array *tr; in probe_remove_event_call() local
3611 static void update_mod_cache(struct trace_array *tr, struct module *mod) in update_mod_cache()
3628 struct trace_array *tr; in update_cache_events() local
3721 __trace_add_event_dirs(struct trace_array *tr) in __trace_add_event_dirs()
3736 __find_event_file(struct trace_array *tr, const char *system, const char *event) in __find_event_file()
3759 find_event_file(struct trace_array *tr, const char *system, const char *event) in find_event_file()
3795 struct trace_array *tr = top_trace_array(); in trace_get_event_file() local
3870 struct trace_array *tr, struct ftrace_probe_ops *ops, in event_enable_probe()
3887 struct trace_array *tr, struct ftrace_probe_ops *ops, in event_enable_count_probe()
3944 event_enable_init(struct ftrace_probe_ops *ops, struct trace_array *tr, in event_enable_init()
3982 event_enable_free(struct ftrace_probe_ops *ops, struct trace_array *tr, in event_enable_free()
4035 event_enable_func(struct trace_array *tr, struct ftrace_hash *hash, in event_enable_func()
4165 static void __trace_early_add_event_dirs(struct trace_array *tr) in __trace_early_add_event_dirs()
4185 void __trace_early_add_events(struct trace_array *tr) in __trace_early_add_events()
4205 __trace_remove_event_dirs(struct trace_array *tr) in __trace_remove_event_dirs()
4215 struct trace_array *tr; in __add_event_to_tracers() local
4260 create_event_toplevel_files(struct dentry *parent, struct trace_array *tr) in create_event_toplevel_files()
4321 int event_trace_add_tracer(struct dentry *parent, struct trace_array *tr) in event_trace_add_tracer()
4348 early_event_add_tracer(struct dentry *parent, struct trace_array *tr) in early_event_add_tracer()
4366 int event_trace_del_tracer(struct trace_array *tr) in event_trace_del_tracer()
4400 early_enable_events(struct trace_array *tr, char *buf, bool disable_first) in early_enable_events()
4429 struct trace_array *tr = top_trace_array(); in event_trace_enable() local
4476 struct trace_array *tr; in event_trace_enable_again() local
4503 struct trace_array *tr; in event_trace_init() local
4599 struct trace_array *tr; in event_trace_self_tests() local