Lines Matching refs:trace_array

476 	struct trace_array *tr = trace_file->tr;  in trace_event_ignore_this_pid()
566 struct trace_array *tr; in trace_event_enable_cmd_record()
588 struct trace_array *tr; in trace_event_enable_tgid_record()
611 struct trace_array *tr = file->tr; in __ftrace_event_enable_disable()
737 static void ftrace_clear_events(struct trace_array *tr) in ftrace_clear_events()
752 struct trace_array *tr = data; in event_filter_pid_sched_process_exit()
767 struct trace_array *tr = data; in event_filter_pid_sched_process_fork()
776 void trace_event_follow_fork(struct trace_array *tr, bool enable) in trace_event_follow_fork()
797 struct trace_array *tr = data; in event_filter_pid_sched_switch_probe_pre()
823 struct trace_array *tr = data; in event_filter_pid_sched_switch_probe_post()
837 struct trace_array *tr = data; in event_filter_pid_sched_wakeup_probe_pre()
855 struct trace_array *tr = data; in event_filter_pid_sched_wakeup_probe_post()
871 static void unregister_pid_events(struct trace_array *tr) in unregister_pid_events()
886 static void __ftrace_clear_event_pids(struct trace_array *tr, int type) in __ftrace_clear_event_pids()
929 static void ftrace_clear_event_pids(struct trace_array *tr, int type) in ftrace_clear_event_pids()
1023 __ftrace_set_clr_event_nolock(struct trace_array *tr, const char *match, in __ftrace_set_clr_event_nolock()
1070 static int __ftrace_set_clr_event(struct trace_array *tr, const char *match, in __ftrace_set_clr_event()
1082 int ftrace_set_clr_event(struct trace_array *tr, char *buf, int set) in ftrace_set_clr_event()
1136 struct trace_array *tr = top_trace_array(); in trace_set_clr_event()
1158 int trace_array_set_clr_event(struct trace_array *tr, const char *system, in trace_array_set_clr_event()
1180 struct trace_array *tr = m->private; in ftrace_event_write()
1219 struct trace_array *tr = m->private; in t_next()
1240 struct trace_array *tr = m->private; in t_start()
1258 struct trace_array *tr = m->private; in s_next()
1273 struct trace_array *tr = m->private; in s_start()
1307 struct trace_array *tr = m->private; in __next()
1334 struct trace_array *tr = m->private; in __start()
1450 struct trace_array *tr = dir->tr; in system_enable_read()
1749 struct trace_array *tr = NULL, *iter_tr; in subsystem_open()
1798 struct trace_array *tr = inode->i_private; in system_tr_open()
1915 struct trace_array *tr = data; in ignore_task_cpu()
1932 static void register_pid_events(struct trace_array *tr) in register_pid_events()
1966 struct trace_array *tr = m->private; in event_pid_write()
2188 struct trace_array *tr = inode->i_private; in ftrace_event_release()
2208 struct trace_array *tr = inode->i_private; in ftrace_event_set_open()
2229 struct trace_array *tr = inode->i_private; in ftrace_event_set_pid_open()
2250 struct trace_array *tr = inode->i_private; in ftrace_event_set_npid_open()
2299 event_subsystem_dir(struct trace_array *tr, const char *name, in event_subsystem_dir()
2420 struct trace_array *tr = file->tr; in event_create_dir()
2495 struct trace_array *tr; in remove_event_from_tracers()
2514 struct trace_array *tr; in event_remove()
2788 struct trace_array *tr) in trace_create_new_event()
2856 __trace_add_new_event(struct trace_event_call *call, struct trace_array *tr) in __trace_add_new_event()
2895 struct trace_array *tr) in __trace_early_add_new_event()
2947 struct trace_array *tr; in probe_remove_event_call()
3096 __trace_add_event_dirs(struct trace_array *tr) in __trace_add_event_dirs()
3111 __find_event_file(struct trace_array *tr, const char *system, const char *event) in __find_event_file()
3134 find_event_file(struct trace_array *tr, const char *system, const char *event) in find_event_file()
3170 struct trace_array *tr = top_trace_array(); in trace_get_event_file()
3254 struct trace_array *tr, struct ftrace_probe_ops *ops, in event_enable_probe()
3271 struct trace_array *tr, struct ftrace_probe_ops *ops, in event_enable_count_probe()
3328 event_enable_init(struct ftrace_probe_ops *ops, struct trace_array *tr, in event_enable_init()
3366 event_enable_free(struct ftrace_probe_ops *ops, struct trace_array *tr, in event_enable_free()
3419 event_enable_func(struct trace_array *tr, struct ftrace_hash *hash, in event_enable_func()
3561 static void __trace_early_add_event_dirs(struct trace_array *tr) in __trace_early_add_event_dirs()
3581 void __trace_early_add_events(struct trace_array *tr) in __trace_early_add_events()
3601 __trace_remove_event_dirs(struct trace_array *tr) in __trace_remove_event_dirs()
3611 struct trace_array *tr; in __add_event_to_tracers()
3634 create_event_toplevel_files(struct dentry *parent, struct trace_array *tr) in create_event_toplevel_files()
3691 int event_trace_add_tracer(struct dentry *parent, struct trace_array *tr) in event_trace_add_tracer()
3718 early_event_add_tracer(struct dentry *parent, struct trace_array *tr) in early_event_add_tracer()
3739 int event_trace_del_tracer(struct trace_array *tr) in event_trace_del_tracer()
3773 early_enable_events(struct trace_array *tr, char *buf, bool disable_first) in early_enable_events()
3802 struct trace_array *tr = top_trace_array(); in event_trace_enable()
3849 struct trace_array *tr; in event_trace_enable_again()
3876 struct trace_array *tr; in event_trace_init()
3972 struct trace_array *tr; in event_trace_self_tests()