Lines Matching defs:tr
97 dummy_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in dummy_set_flag()
505 static __always_inline bool printk_binsafe(struct trace_array *tr) in printk_binsafe()
516 static void update_printk_trace(struct trace_array *tr) in update_printk_trace()
526 void trace_set_ring_buffer_expanded(struct trace_array *tr) in trace_set_ring_buffer_expanded()
537 struct trace_array *tr; in trace_array_get() local
579 int tracing_check_open_get_tr(struct trace_array *tr) in tracing_check_open_get_tr()
1005 static inline void ftrace_trace_stack(struct trace_array *tr, in ftrace_trace_stack()
1038 void tracer_tracing_on(struct trace_array *tr) in tracer_tracing_on()
1085 int __trace_array_puts(struct trace_array *tr, unsigned long ip, in __trace_array_puts()
1154 struct trace_array *tr = READ_ONCE(printk_trace); in __trace_bputs() local
1195 static void tracing_snapshot_instance_cond(struct trace_array *tr, in tracing_snapshot_instance_cond()
1232 void tracing_snapshot_instance(struct trace_array *tr) in tracing_snapshot_instance()
1253 struct trace_array *tr = &global_trace; in tracing_snapshot() local
1272 void tracing_snapshot_cond(struct trace_array *tr, void *cond_data) in tracing_snapshot_cond()
1292 void *tracing_cond_snapshot_data(struct trace_array *tr) in tracing_cond_snapshot_data()
1313 int tracing_alloc_snapshot_instance(struct trace_array *tr) in tracing_alloc_snapshot_instance()
1338 static void free_snapshot(struct trace_array *tr) in free_snapshot()
1352 static int tracing_arm_snapshot_locked(struct trace_array *tr) in tracing_arm_snapshot_locked()
1377 int tracing_arm_snapshot(struct trace_array *tr) in tracing_arm_snapshot()
1388 void tracing_disarm_snapshot(struct trace_array *tr) in tracing_disarm_snapshot()
1408 struct trace_array *tr = &global_trace; in tracing_alloc_snapshot() local
1454 int tracing_snapshot_cond_enable(struct trace_array *tr, void *cond_data, in tracing_snapshot_cond_enable()
1518 int tracing_snapshot_cond_disable(struct trace_array *tr) in tracing_snapshot_cond_disable()
1546 void tracing_snapshot_cond(struct trace_array *tr, void *cond_data) in tracing_snapshot_cond()
1563 void *tracing_cond_snapshot_data(struct trace_array *tr) in tracing_cond_snapshot_data()
1568 int tracing_snapshot_cond_enable(struct trace_array *tr, void *cond_data, cond_update_fn_t update) in tracing_snapshot_cond_enable()
1573 int tracing_snapshot_cond_disable(struct trace_array *tr) in tracing_snapshot_cond_disable()
1578 #define free_snapshot(tr) do { } while (0) argument
1579 #define tracing_arm_snapshot_locked(tr) ({ -EBUSY; }) argument
1582 void tracer_tracing_off(struct trace_array *tr) in tracer_tracing_off()
1628 bool tracer_tracing_is_on(struct trace_array *tr) in tracer_tracing_is_on()
1713 bool trace_clock_in_ns(struct trace_array *tr) in trace_clock_in_ns()
1861 struct trace_array *tr = container_of(work, struct trace_array, in latency_fsnotify_workfn() local
1868 struct trace_array *tr = container_of(iwork, struct trace_array, in latency_fsnotify_workfn_irq() local
1873 static void trace_create_maxlat_file(struct trace_array *tr, in trace_create_maxlat_file()
1897 void latency_fsnotify(struct trace_array *tr) in latency_fsnotify()
1911 #define trace_create_maxlat_file(tr, d_tracer) \ argument
1923 __update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) in __update_max_tr()
1968 update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu, in update_max_tr()
2015 update_max_tr_single(struct trace_array *tr, struct task_struct *tsk, int cpu) in update_max_tr_single()
2120 struct trace_array *tr = &global_trace; in run_tracer_selftest() local
2392 struct trace_array *tr; in tracing_reset_all_online_cpus_unlocked() local
2419 static void tracing_start_tr(struct trace_array *tr) in tracing_start_tr()
2467 static void tracing_stop_tr(struct trace_array *tr) in tracing_stop_tr()
2679 struct trace_array *tr = trace_file->tr; in trace_event_buffer_lock_reserve() local
2860 void trace_buffer_unlock_commit_regs(struct trace_array *tr, in trace_buffer_unlock_commit_regs()
2889 trace_function(struct trace_array *tr, unsigned long ip, unsigned long in trace_function()
3000 static inline void ftrace_trace_stack(struct trace_array *tr, in ftrace_trace_stack()
3011 void __trace_stack(struct trace_array *tr, unsigned int trace_ctx, in __trace_stack()
3060 ftrace_trace_userstack(struct trace_array *tr, in ftrace_trace_userstack()
3106 static void ftrace_trace_userstack(struct trace_array *tr, in ftrace_trace_userstack()
3123 void trace_last_func_repeats(struct trace_array *tr, in trace_last_func_repeats()
3270 struct trace_array *tr = READ_ONCE(printk_trace); in trace_vbprintk() local
3386 int trace_array_vprintk(struct trace_array *tr, in trace_array_vprintk()
3416 int trace_array_printk(struct trace_array *tr, in trace_array_printk()
3447 int trace_array_init_printk(struct trace_array *tr) in trace_array_init_printk()
4048 struct trace_array *tr = iter->tr; in s_start() local
4156 unsigned long trace_total_entries_cpu(struct trace_array *tr, int cpu) in trace_total_entries_cpu()
4168 unsigned long trace_total_entries(struct trace_array *tr) in trace_total_entries()
4293 struct trace_array *tr = iter->tr; in test_cpu_buff_start() local
4319 struct trace_array *tr = iter->tr; in print_trace_fmt() local
4354 struct trace_array *tr = iter->tr; in print_raw_fmt() local
4379 struct trace_array *tr = iter->tr; in print_hex_fmt() local
4409 struct trace_array *tr = iter->tr; in print_bin_fmt() local
4465 struct trace_array *tr = iter->tr; in print_trace_line() local
4516 struct trace_array *tr = iter->tr; in trace_latency_header() local
4532 struct trace_array *tr = iter->tr; in trace_default_header() local
4697 struct trace_array *tr = inode->i_private; in __tracing_open() local
4830 struct trace_array *tr = inode->i_private; in tracing_open_generic_tr() local
4898 struct trace_array *tr = inode->i_private; in tracing_release() local
4936 struct trace_array *tr = inode->i_private; in tracing_release_generic_tr() local
4944 struct trace_array *tr = inode->i_private; in tracing_single_release_tr() local
4953 struct trace_array *tr = inode->i_private; in tracing_open() local
4997 trace_ok_for_array(struct tracer *t, struct trace_array *tr) in trace_ok_for_array()
5009 get_tracer_for_array(struct trace_array *tr, struct tracer *t) in get_tracer_for_array()
5020 struct trace_array *tr = m->private; in t_next() local
5033 struct trace_array *tr = m->private; in t_start() local
5076 struct trace_array *tr = inode->i_private; in show_traces_open() local
5098 struct trace_array *tr = inode->i_private; in tracing_seq_release() local
5144 struct trace_array *tr = file_inode(filp)->i_private; in tracing_cpumask_read() local
5168 int tracing_set_cpumask(struct trace_array *tr, in tracing_set_cpumask()
5212 struct trace_array *tr = file_inode(filp)->i_private; in tracing_cpumask_write() local
5248 struct trace_array *tr = m->private; in tracing_trace_options_show() local
5274 static int __set_tracer_option(struct trace_array *tr, in __set_tracer_option()
5293 static int set_tracer_option(struct trace_array *tr, char *cmp, int neg) in set_tracer_option()
5319 int set_tracer_flag(struct trace_array *tr, unsigned int mask, int enabled) in set_tracer_flag()
5393 int trace_set_options(struct trace_array *tr, char *option) in trace_set_options()
5457 struct trace_array *tr = m->private; in tracing_trace_options_write() local
5480 struct trace_array *tr = inode->i_private; in tracing_trace_options_open() local
5993 struct trace_array *tr = filp->private_data; in tracing_set_trace_read() local
6004 int tracer_init(struct tracer *t, struct trace_array *tr) in tracer_init()
6055 static int __tracing_resize_ring_buffer(struct trace_array *tr, in __tracing_resize_ring_buffer()
6118 ssize_t tracing_resize_ring_buffer(struct trace_array *tr, in tracing_resize_ring_buffer()
6143 static void update_last_data(struct trace_array *tr) in update_last_data()
6167 int tracing_update_buffers(struct trace_array *tr) in tracing_update_buffers()
6192 static void tracing_set_nop(struct trace_array *tr) in tracing_set_nop()
6207 static void add_tracer_options(struct trace_array *tr, struct tracer *t) in add_tracer_options()
6220 int tracing_set_tracer(struct trace_array *tr, const char *buf) in tracing_set_tracer()
6341 struct trace_array *tr = filp->private_data; in tracing_set_trace_write() local
6409 struct trace_array *tr = filp->private_data; in tracing_thresh_write() local
6436 struct trace_array *tr = filp->private_data; in tracing_max_lat_read() local
6445 struct trace_array *tr = filp->private_data; in tracing_max_lat_write() local
6452 static int open_pipe_on_cpu(struct trace_array *tr, int cpu) in open_pipe_on_cpu()
6466 static void close_pipe_on_cpu(struct trace_array *tr, int cpu) in close_pipe_on_cpu()
6479 struct trace_array *tr = inode->i_private; in tracing_open_pipe() local
6548 struct trace_array *tr = inode->i_private; in tracing_release_pipe() local
6570 struct trace_array *tr = iter->tr; in trace_poll() local
6884 struct trace_array *tr = inode->i_private; in tracing_entries_read() local
6932 struct trace_array *tr = inode->i_private; in tracing_entries_write() local
6959 struct trace_array *tr = filp->private_data; in tracing_total_entries_read() local
6982 struct trace_array *tr = filp->private_data; in tracing_last_boot_read() local
6996 struct trace_array *tr = inode->i_private; in tracing_buffer_meta_open() local
7027 struct trace_array *tr = inode->i_private; in tracing_free_buffer_release() local
7046 struct trace_array *tr = filp->private_data; in tracing_mark_write() local
7140 struct trace_array *tr = filp->private_data; in tracing_mark_raw_write() local
7192 struct trace_array *tr = m->private; in tracing_clock_show() local
7205 int tracing_set_clock(struct trace_array *tr, const char *clockstr) in tracing_set_clock()
7243 struct trace_array *tr = m->private; in tracing_clock_write() local
7269 struct trace_array *tr = inode->i_private; in tracing_clock_open() local
7285 struct trace_array *tr = m->private; in tracing_time_stamp_mode_show() local
7301 struct trace_array *tr = inode->i_private; in tracing_time_stamp_mode_open() local
7326 int tracing_set_filter_buffering(struct trace_array *tr, bool set) in tracing_set_filter_buffering()
7360 struct trace_array *tr = inode->i_private; in tracing_snapshot_open() local
7399 static void tracing_swap_cpu_buffer(void *tr) in tracing_swap_cpu_buffer()
7410 struct trace_array *tr = iter->tr; in tracing_snapshot_write() local
7786 static struct tracing_log_err *get_tracing_log_err(struct trace_array *tr, in get_tracing_log_err()
7863 void tracing_log_err(struct trace_array *tr, in tracing_log_err()
7894 static void clear_tracing_err_log(struct trace_array *tr) in clear_tracing_err_log()
7910 struct trace_array *tr = m->private; in tracing_err_log_seq_start() local
7919 struct trace_array *tr = m->private; in tracing_err_log_seq_next() local
7968 struct trace_array *tr = inode->i_private; in tracing_err_log_open() local
8000 struct trace_array *tr = inode->i_private; in tracing_err_log_release() local
8020 struct trace_array *tr = inode->i_private; in tracing_buffers_open() local
8405 static int get_snapshot_map(struct trace_array *tr) in get_snapshot_map()
8430 static void put_snapshot_map(struct trace_array *tr) in put_snapshot_map()
8438 static inline int get_snapshot_map(struct trace_array *tr) { return 0; } in get_snapshot_map()
8439 static inline void put_snapshot_map(struct trace_array *tr) { } in put_snapshot_map()
8490 struct trace_array *tr = inode->i_private; in tracing_stats_read() local
8591 struct trace_array *tr, struct ftrace_probe_ops *ops, in ftrace_snapshot()
8599 struct trace_array *tr, struct ftrace_probe_ops *ops, in ftrace_count_snapshot()
8642 ftrace_snapshot_init(struct ftrace_probe_ops *ops, struct trace_array *tr, in ftrace_snapshot_init()
8658 ftrace_snapshot_free(struct ftrace_probe_ops *ops, struct trace_array *tr, in ftrace_snapshot_free()
8686 ftrace_trace_snapshot_callback(struct trace_array *tr, struct ftrace_hash *hash, in ftrace_trace_snapshot_callback()
8752 static struct dentry *tracing_get_dentry(struct trace_array *tr) in tracing_get_dentry()
8765 static struct dentry *tracing_dentry_percpu(struct trace_array *tr, int cpu) in tracing_dentry_percpu()
8796 tracing_init_tracefs_percpu(struct trace_array *tr, long cpu) in tracing_init_tracefs_percpu()
8959 struct trace_array *tr; in trace_options_core_read() local
8978 struct trace_array *tr; in trace_options_core_write() local
9029 static struct dentry *trace_options_init_dentry(struct trace_array *tr) in trace_options_init_dentry()
9050 create_trace_option_file(struct trace_array *tr, in create_trace_option_file()
9071 create_trace_option_files(struct trace_array *tr, struct tracer *tracer) in create_trace_option_files()
9132 create_trace_option_core_file(struct trace_array *tr, in create_trace_option_core_file()
9146 static void create_trace_options_dir(struct trace_array *tr) in create_trace_options_dir()
9167 struct trace_array *tr = filp->private_data; in rb_simple_read() local
9181 struct trace_array *tr = filp->private_data; in rb_simple_write() local
9225 struct trace_array *tr = filp->private_data; in buffer_percent_read() local
9239 struct trace_array *tr = filp->private_data; in buffer_percent_write() local
9268 struct trace_array *tr = filp->private_data; in buffer_subbuf_size_read() local
9286 struct trace_array *tr = filp->private_data; in buffer_subbuf_size_write() local
9368 allocate_trace_buffer(struct trace_array *tr, struct array_buffer *buf, int size) in allocate_trace_buffer()
9418 static int allocate_trace_buffers(struct trace_array *tr, int size) in allocate_trace_buffers()
9445 static void free_trace_buffers(struct trace_array *tr) in free_trace_buffers()
9457 static void init_trace_flags_index(struct trace_array *tr) in init_trace_flags_index()
9466 static void __update_tracer_options(struct trace_array *tr) in __update_tracer_options()
9474 static void update_tracer_options(struct trace_array *tr) in update_tracer_options()
9485 struct trace_array *tr, *found = NULL; in trace_array_find() local
9499 struct trace_array *tr; in trace_array_find_get() local
9510 static int trace_array_create_dir(struct trace_array *tr) in trace_array_create_dir()
9535 struct trace_array *tr; in trace_array_create_systems() local
9625 struct trace_array *tr; in instance_mkdir() local
9689 struct trace_array *tr; in trace_array_get_by_name() local
9713 static int __remove_instance(struct trace_array *tr) in __remove_instance()
9758 struct trace_array *tr; in trace_array_destroy() local
9786 struct trace_array *tr; in instance_rmdir() local
9805 struct trace_array *tr; in create_trace_instances() local
9829 init_tracer_tracefs(struct trace_array *tr, struct dentry *d_tracer) in init_tracer_tracefs()
9944 struct trace_array *tr = &global_trace; in tracing_init_dentry() local
10218 static void trace_init_iter(struct trace_iterator *iter, struct trace_array *tr) in trace_init_iter()
10248 static void ftrace_dump_one(struct trace_array *tr, enum ftrace_dump_mode dump_mode) in ftrace_dump_one()
10343 struct trace_array *tr; in ftrace_dump_by_param() local
10520 struct trace_array *tr; in enable_instances() local
10779 struct trace_array *tr; in ftrace_boot_snapshot() local