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
634 struct trace_array *tr = trace_file->tr; in trace_event_ignore_this_pid() local
725 struct trace_array *tr; in trace_event_enable_cmd_record() local
747 struct trace_array *tr; in trace_event_enable_tgid_record() local
770 struct trace_array *tr = file->tr; in __ftrace_event_enable_disable() local
912 static void clear_mod_events(struct trace_array *tr) in clear_mod_events()
921 static int remove_cache_mod(struct trace_array *tr, const char *mod, in remove_cache_mod()
949 static int cache_mod(struct trace_array *tr, const char *mod, int set, in cache_mod()
999 static inline void clear_mod_events(struct trace_array *tr) { } in clear_mod_events()
1000 static int cache_mod(struct trace_array *tr, const char *mod, int set, in cache_mod()
1007 static void ftrace_clear_events(struct trace_array *tr) in ftrace_clear_events()
1023 struct trace_array *tr = data; in event_filter_pid_sched_process_exit() local
1038 struct trace_array *tr = data; in event_filter_pid_sched_process_fork() local
1047 void trace_event_follow_fork(struct trace_array *tr, bool enable) in trace_event_follow_fork()
1068 struct trace_array *tr = data; in event_filter_pid_sched_switch_probe_pre() local
1094 struct trace_array *tr = data; in event_filter_pid_sched_switch_probe_post() local
1108 struct trace_array *tr = data; in event_filter_pid_sched_wakeup_probe_pre() local
1126 struct trace_array *tr = data; in event_filter_pid_sched_wakeup_probe_post() local
1142 static void unregister_pid_events(struct trace_array *tr) in unregister_pid_events()
1157 static void __ftrace_clear_event_pids(struct trace_array *tr, int type) in __ftrace_clear_event_pids()
1200 static void ftrace_clear_event_pids(struct trace_array *tr, int type) in ftrace_clear_event_pids()
1303 __ftrace_set_clr_event_nolock(struct trace_array *tr, const char *match, in __ftrace_set_clr_event_nolock()
1376 static int __ftrace_set_clr_event(struct trace_array *tr, const char *match, in __ftrace_set_clr_event()
1389 int ftrace_set_clr_event(struct trace_array *tr, char *buf, int set) in ftrace_set_clr_event()
1456 struct trace_array *tr = top_trace_array(); in trace_set_clr_event() local
1478 int trace_array_set_clr_event(struct trace_array *tr, const char *system, in trace_array_set_clr_event()
1500 struct trace_array *tr = m->private; in ftrace_event_write() local
1539 struct trace_array *tr = m->private; in t_next() local
1560 struct trace_array *tr = m->private; in t_start() local
1592 struct trace_array *tr = m->private; in s_next() local
1627 struct trace_array *tr = m->private; in s_start() local
1706 struct trace_array *tr = m->private; in __next() local
1733 struct trace_array *tr = m->private; in __start() local
1847 int trace_events_enabled(struct trace_array *tr, const char *system) in trace_events_enabled()
1888 struct trace_array *tr = dir->tr; in system_enable_read() local
2174 struct trace_array *tr = NULL, *iter_tr; in subsystem_open() local
2223 struct trace_array *tr = inode->i_private; in system_tr_open() local
2316 struct trace_array *tr = filp->private_data; in show_header_page_file() local
2364 struct trace_array *tr = data; in ignore_task_cpu() local
2381 static void register_pid_events(struct trace_array *tr) in register_pid_events()
2415 struct trace_array *tr = m->private; in event_pid_write() local
2645 struct trace_array *tr = inode->i_private; in ftrace_event_release() local
2665 struct trace_array *tr = inode->i_private; in ftrace_event_set_open() local
2686 struct trace_array *tr = inode->i_private; in ftrace_event_set_pid_open() local
2707 struct trace_array *tr = inode->i_private; in ftrace_event_set_npid_open() local
2772 event_subsystem_dir(struct trace_array *tr, const char *name, in event_subsystem_dir()
2978 struct trace_array *tr = file->tr; in event_create_dir() local
3066 struct trace_array *tr; in remove_event_from_tracers() local
3085 struct trace_array *tr; in event_remove() local
3484 struct trace_array *tr) in trace_create_new_event()
3556 __trace_add_new_event(struct trace_event_call *call, struct trace_array *tr) in __trace_add_new_event()
3604 struct trace_array *tr) in __trace_early_add_new_event()
3663 struct trace_array *tr; in probe_remove_event_call() local
3726 static void update_mod_cache(struct trace_array *tr, struct module *mod) in update_mod_cache()
3743 struct trace_array *tr; in update_cache_events() local
3836 __trace_add_event_dirs(struct trace_array *tr) in __trace_add_event_dirs()
3853 __find_event_file(struct trace_array *tr, const char *system, const char *event) in __find_event_file()
3876 find_event_file(struct trace_array *tr, const char *system, const char *event) in find_event_file()
3912 struct trace_array *tr = top_trace_array(); in trace_get_event_file() local
3987 struct trace_array *tr, struct ftrace_probe_ops *ops, in event_enable_probe()
4004 struct trace_array *tr, struct ftrace_probe_ops *ops, in event_enable_count_probe()
4061 event_enable_init(struct ftrace_probe_ops *ops, struct trace_array *tr, in event_enable_init()
4099 event_enable_free(struct ftrace_probe_ops *ops, struct trace_array *tr, in event_enable_free()
4152 event_enable_func(struct trace_array *tr, struct ftrace_hash *hash, in event_enable_func()
4282 static void __trace_early_add_event_dirs(struct trace_array *tr) in __trace_early_add_event_dirs()
4302 void __trace_early_add_events(struct trace_array *tr) in __trace_early_add_events()
4322 __trace_remove_event_dirs(struct trace_array *tr) in __trace_remove_event_dirs()
4332 struct trace_array *tr; in __add_event_to_tracers() local
4377 create_event_toplevel_files(struct dentry *parent, struct trace_array *tr) in create_event_toplevel_files()
4438 int event_trace_add_tracer(struct dentry *parent, struct trace_array *tr) in event_trace_add_tracer()
4465 early_event_add_tracer(struct dentry *parent, struct trace_array *tr) in early_event_add_tracer()
4483 int event_trace_del_tracer(struct trace_array *tr) in event_trace_del_tracer()
4517 early_enable_events(struct trace_array *tr, char *buf, bool disable_first) in early_enable_events()
4546 struct trace_array *tr = top_trace_array(); in event_trace_enable() local
4593 struct trace_array *tr; in event_trace_enable_again() local
4620 struct trace_array *tr; in event_trace_init() local
4716 struct trace_array *tr; in event_trace_self_tests() local